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

Eric Christopher echristo at apple.com
Thu Jul 7 17:16:33 PDT 2011


On Jul 7, 2011, at 5:04 PM, Nick Lewycky wrote:

> 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!

Two words:

"Eeew" and "OK"

Thanks!

-eric




More information about the llvm-commits mailing list