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]

Re: [ARM] Add atomic_loaddi pattern


On 04/30/2012 01:47 AM, Richard Earnshaw wrote:

>  +    operands[2] = gen_rtx_REG (SImode, REGNO (target) + 1);
>  +    return "ldrexd%?\t%0, %2, %C1";
>  +  }
Use "ldrexd%?\t%0, %H0, %C1", then you don't need to construct operands[2]

Otherwise, OK.

Ah, nice. I also fixed the other instance of ldrexd to use %H.



r~



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