[llvm-commits] patch: support float/double in 'q'/'Q' constraint on x86

Nick Lewycky nlewycky at google.com
Thu Jul 7 17:04:36 PDT 2011


Faced with an inline asm 'q' constraint, GCC appears to put floats in 32-bit
ABCD registers and on x86_64 puts doubles in 64-bit ABCD registers. This
patch replicates that behaviour. GCC also puts 64-bit doubles into 32-bit
ABCD registers in 32-bit mode. This patch does not replicate that behaviour,
preferring the current technique of issuing a backend error.

Please review!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110707/562a74c7/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pr9602.patch
Type: text/x-patch
Size: 2013 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110707/562a74c7/attachment.bin>


More information about the llvm-commits mailing list