[Freemint-list] ColdFire BYTEREV
Miro Kropáček
miro.kropacek at gmail.com
Thu Jan 26 18:39:25 MSK 2017
>
> On ISA B, you still need to do something like this:
>
> static inline uint32_t swpl(uint32_t l)
> {
> return ((l & 0xff000000) >> 24) | ((l & 0x00ff0000) >> 8) |
> ((l & 0x0000ff00) << 8) | (l << 24);
> }
>
Damn. :-( The whole point was to implement an optimised version for the
FireBee. I'm doing some changes to my binutils/gcc scripts and I've
realised that there are 020+ routines available in GMP which hadn't been
used so I was hoping to do some quick asm hack for ColdFire as well (else
it bounces back to similar C implementation).
Thanks for clarification.
--
MiKRO / Mystic Bytes
http://mikro.atari.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.atariforge.org/pipermail/freemint-list/attachments/20170127/6dac7d34/attachment.html
More information about the Freemint-list
mailing list