ARM Thumb hack patch

Robert Shideleff bigbob@shideleff.com
Fri Aug 13 19:14:00 GMT 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

In the current SID CVS repository the ARM thumb instruction set does not work. 
It appears that a macro type thing is broken in the cgen code. I don't know 
the insides of cgen, and so I don't know how to fix it, but here is a patch 
that fixes the generated code in SID.

It is simply a repetitive removal of an extra 16 bit shift of the entire-insn 
in the thumb-decode function.

Bob
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBHRMZ8XjOGQDr37YRAjdBAJ988HHCB8DexTdNOuwHdE2bI7KChwCdEr01
CcZGinKCy2ESgzzAiXSw9hU=
=qc/p
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arm-thumb.diff
Type: text/x-diff
Size: 34079 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/cgen/attachments/20040813/616cdd6a/attachment.bin>


More information about the Cgen mailing list