From mint-bounce@lists.fishpool.fi Sun May 17 19:05:41 2009 Message-ID: <4A10979A.5020909@freesbee.fr> Date: Mon, 18 May 2009 01:02:50 +0200 From: =?UTF-8?B?VmluY2VudCBSaXZpw6hyZQ==?= User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: mint Subject: Re: [MiNT] MiNTLib for ColdFire References: <49F743B1.8030803@freesbee.fr> <4A108B1A.1040708@freesbee.fr> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed X-Antivirus: avast! (VPS 090516-0, 16/05/2009), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id n4HN5e9w020033 Hello, Andreas. > Just use addql everywhere, it's absolutely the same. It seems that you are right. When the target is an address register, addq.w and addq.l both work on 32-bit, both opcodes are 2 bytes long, and both takes 8 CPU cycles on 68000. If there is no objection, I will replace all the addq.w #x,an instructions by addq.l in the 68000 code. There will be no performance loss, and the code will be ColdFire compatible without change. NB: Please Alan, don't commit the patch, I will provide another one after the addq cleanup. -- Vincent Rivière