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

Weiming Zhao weimingz at codeaurora.org
Wed Oct 17 11:47:03 PDT 2012


Oh. I see.  Let me try it.

Thanks

Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
The Linux Foundation


-----Original Message-----
From: Jakob Stoklund Olesen [mailto:stoklund at 2pi.dk] 
Sent: Wednesday, October 17, 2012 11:39 AM
To: weimingz at codeaurora.org
Cc: 'Jim Grosbach'; llvm-commits at cs.uiuc.edu; zinob at codeaurora.org
Subject: Re: [llvm-commits] Fixing Bug 13662: paired register for inline asm
with 64-bit data on ARM


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