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

Re: [arm/thumb] bug in machine description


Hi Adrian,

> I fear the machine description has a bug in the pattern used to generate
> the strb instruction.
> 
> It generates a 'strb    r3, [sp, #1]' instruction, which is not possible
> in thumb as sp is a hi register.

Please could you submit a *small* test case that reproduces this
problem ?

Cheers
        Nick


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