Re: [hatari-devel] 68030 and movem

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


> 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. 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/