diff options
author | Chris Lattner <sabre@nondot.org> | 2008-03-05 17:11:51 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-03-05 17:11:51 +0000 |
commit | 4d93b2f16d66841f3338ffe2c1318fe6eeeef181 (patch) | |
tree | 574dbb7466a537288495426caaab29c40f1ba92b /lib/Target/X86/README-SSE.txt | |
parent | 6af4a751a23d159c6b1c3018326fb2cc1d1131d2 (diff) |
evan implemented this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47948 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/X86/README-SSE.txt')
-rw-r--r-- | lib/Target/X86/README-SSE.txt | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/lib/Target/X86/README-SSE.txt b/lib/Target/X86/README-SSE.txt index 7248a57df3..7f4a707c30 100644 --- a/lib/Target/X86/README-SSE.txt +++ b/lib/Target/X86/README-SSE.txt @@ -586,32 +586,6 @@ ABS/NEG/copysign etc. //===---------------------------------------------------------------------===// -"converting 64-bit constant pool entry to 32-bit not necessarily beneficial" -http://llvm.org/PR1264 - -For this test case: - -define double @foo(double %x) { - %y = mul double %x, 5.000000e-01 - ret double %y -} - -llc -march=x86-64 currently produces a 32-bit constant pool entry and this code: - - cvtss2sd .LCPI1_0(%rip), %xmm1 - mulsd %xmm1, %xmm0 - -instead of just using a 64-bit constant pool entry with this: - - mulsd .LCPI1_0(%rip), %xmm0 - -This is due to the code in ExpandConstantFP in LegalizeDAG.cpp. It notices that -x86-64 indeed has an instruction to load a 32-bit float from memory and convert -it into a 64-bit float in a register, however it doesn't notice that this isn't -beneficial because it prevents the load from being folded into the multiply. - -//===---------------------------------------------------------------------===// - These functions: #include <xmmintrin.h> |