On 22/01/2014 16:38, Jonathan Schleifer wrote: > Am 22.01.2014 um 16:32 schrieb François Revol <revol@xxxxxxx>: > >> Now, I'm not sure about ARM though but I think we can probably hide most >> of the tweaks in system libs. > > Well, for ARM, a vendor does not make that much sense, but we do need some > extra defines for it. > E.g. ARMv5 can’t handle Thumb, but there are Thumb versions of ARMv5. > And that even is a problem if we don’t use Thumb: > Code that should be able to work together with Thumb code needs to be Thumb aware, > e.g. need bx instead of b. But bx only exists on CPUs with Thumb. Or ARMv6 can’t > handle movw/movt and many other new instructions of ARMv7. If you target ARMv7, > movw and movt are used all over the place. > >> As for m68k, we might also want to add ColdFire as it's a bit different, >> and if I ever get the time I'll make a port to the FireBee ;-) > > Isn’t ColdFire the same in the unprivileged mode, but different in privileged > mode? AFAIK they removed a lot of opcodes even for user mode... François.