This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix invalid thumb code generation


Hi there,

The compiler can generate THUMB byte load/store instructions using
``sp'' or another high register as a base, which is invalid addressing
mode.  Two patches, which solve the problem are attached.  The first
one is a fix by Nick Clifton, back-ported from the mainline, the
second one is mine.  You can apply either one of them.

Patches are against gcc-3_0-branch. 

Regards,
-velco

Attachment: arm-mode-base-reg-class.diff
Description: Text document

Attachment: thumb-strb.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]