| Re: [hatari-devel] 68030 and movem | 
[ Thread Index | 
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
] 
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] 68030 and movem
- From: Andreas Grabher <andreas_g86@xxxxxxxxxx>
- Date: Mon, 18 Sep 2023 10:46:34 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=icloud.com;	s=1a1hai; t=1695026809;	bh=z+PA9qQGX9oBIGx5R3/yf2+tBfiAF88tUzRqytTfWx8=;	h=Content-Type:From:Mime-Version:Subject:Date:Message-Id:To;	b=phVB1Utmqgexg/+lTCx/3tCq5GuoO3dG132Wg39daG49Br8zVrkZq5RrArwYi6IPr	 53RtYzgyxwuwYhCOh7kP+qQ7nlfDc4fKaQ+27GvE25k5K3AjE2EjoZaDgL8Nqnmciv	 EqClve+HfixvAsNUqs789a7+6fqcOHLdzwWDsbqlvgem7tV2rrRi/p+v6IcFMC6Gpy	 h2vUHkMBDPNL4Yz+psV39yj4Pfq7h9BrgyvuzFvNts5QuSq9MR5IbxvcFmDdMY0auF	 cvgXcQfjSPgK8vVwYiKzGBJ3BKT+kxzuDfOiauikmbE7byDEqrD3wzc4FpUGdCxhNO	 8ftPRfokctWjg==
> Am 18.09.2023 um 10:16 schrieb Nicolas Pomarède <npomarede@xxxxxxxxxxxx>:
> 
> Le 18/09/2023 à 10:05, Andreas Grabher a écrit :
>>>> Am 17.09.2023 um 12:16 schrieb Andreas Grabher <andreas_g86@xxxxxxxxxx>:
>>> 
>>> 
>>>> Am 17.09.2023 um 12:08 schrieb Thorsten Otto <admin@xxxxxxxxxxx>:
>>>> 
>>>> 
>>>> 
>>>> On Sonntag, 17. September 2023 11:37:38 CEST Andreas Grabher wrote:
>>>> 
>>>> > It might as well mean size of one single transfer, which might be word or
>>>> 
>>>> > long.
>>>> 
>>>> 
>>>> Yes, this is actually the case.  See https://www.atari-forum.com/viewtopic.php?p=451165#p451165 <https://www.atari-forum.com/viewtopic.php?p=451165#p451165> in answer from agranlund, where i also wondered about which size was meant.
>>>> 
>>> 
>>> Thank you! Then please ignore my first patch.
>> From my point of view the patch that was added yesterday to the repository adds unnecessary overhead to variants of MOVEM that are not affected by the special case.
> 
> Hi
> 
> these are the changes from WinUAE :
> 
> https://github.com/tonioni/WinUAE/commit/fe444426bf01e1be0523c391aaf1e34bf8758430
> 
> do you mean the ones that use "int predec = 0;" ? If so they should be optimized by the compiler.
> 
> Nicolas
> 
That is likely. But why do we add code just to optimize it away afterwards? At least it is bad for readability.