[llvm-commits] Fixing Bug 13662: paired register for inline asm with 64-bit data on ARM

Jakob Stoklund Olesen stoklund at 2pi.dk
Wed Oct 17 11:39:17 PDT 2012


On Oct 17, 2012, at 11:26 AM, "Weiming Zhao" <weimingz at codeaurora.org> wrote:

> HiJakob,
> 
> Thanks for your quick feedback.
> It's a good idea to split it into several pieces. 
> 
> Now, I'm planning to isolate the first patch for GPR Pair alone (including
> td file, reserved regs, support for copying and spilling). 
> However, one obstacle is unit testing. Without the inline asm fix as the
> "driver", how do I test the functionality of GPR pair? 
> Any suggestions? Or shall we delay the unit test until the picture is more
> completed?

The inline asm support is fairly complicated, and definitely needs some design iterations.

Perhaps you could switch LDREXD and STREXD to use the new register class? That should be a lot easier design wise than the inlineasm support, and it would give you good test cases.

/jakob




More information about the llvm-commits mailing list