This is the mail archive of the gcc-bugs@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]

[Bug target/49335] [4.6 Regression] ARM: Invalid assembler generated while compiling C++ code from 'codeblocks'


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49335

--- Comment #3 from Ramana Radhakrishnan <ramana at gcc dot gnu.org> 2011-06-09 10:25:15 UTC ---
(In reply to comment #2)
> The problem is that *arith_shiftsi allows *all* shiftable operators to have the
> stack pointer as Rn . 
> 
> In Thumb2 only the add and sub instructions are allowed to have the stack
> pointer in this form and all other instructions are UNPREDICTABLE. 

This is for operations of the form :

<operation> rd, rn, rm lsl 2

cheers
Ramana


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