summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-13 23:29:11 +0000
committerChris Lattner <sabre@nondot.org>2010-01-13 23:29:11 +0000
commit3eb76c23dd8e6c28e1cb4dd0387ef08d21f1bc34 (patch)
tree60f11f6e034eb9f02567a17a03dbf137c1d4fafd /llvm
parentfb534d97b50cb4670a57c3153bf545a306e4ac79 (diff)
downloadbcm5719-llvm-3eb76c23dd8e6c28e1cb4dd0387ef08d21f1bc34.tar.gz
bcm5719-llvm-3eb76c23dd8e6c28e1cb4dd0387ef08d21f1bc34.zip
this is an SSE-specific issue.
llvm-svn: 93373
Diffstat (limited to 'llvm')
-rw-r--r--llvm/lib/Target/X86/README-SSE.txt20
-rw-r--r--llvm/lib/Target/X86/README.txt20
2 files changed, 20 insertions, 20 deletions
diff --git a/llvm/lib/Target/X86/README-SSE.txt b/llvm/lib/Target/X86/README-SSE.txt
index 71ad51c7984..0f3e44b5289 100644
--- a/llvm/lib/Target/X86/README-SSE.txt
+++ b/llvm/lib/Target/X86/README-SSE.txt
@@ -916,3 +916,23 @@ cheaper to do fld1 than load from a constant pool for example, so
"load, add 1.0, store" is better done in the fp stack, etc.
//===---------------------------------------------------------------------===//
+
+The X86 backend should be able to if-convert SSE comparisons like "ucomisd" to
+"cmpsd". For example, this code:
+
+double d1(double x) { return x == x ? x : x + x; }
+
+Compiles into:
+
+_d1:
+ ucomisd %xmm0, %xmm0
+ jnp LBB1_2
+ addsd %xmm0, %xmm0
+ ret
+LBB1_2:
+ ret
+
+Also, the 'ret's should be shared. This is PR6032.
+
+//===---------------------------------------------------------------------===//
+
diff --git a/llvm/lib/Target/X86/README.txt b/llvm/lib/Target/X86/README.txt
index f146ff36345..aa7bb3d9788 100644
--- a/llvm/lib/Target/X86/README.txt
+++ b/llvm/lib/Target/X86/README.txt
@@ -1868,23 +1868,3 @@ carried over to machine instructions. Asm printer (or JIT) can use this
information to add the "lock" prefix.
//===---------------------------------------------------------------------===//
-
-The X86 backend should be able to if-convert SSE comparisons like "ucomisd" to
-"cmpsd". For example, this code:
-
-double d1(double x) { return x == x ? x : x + x; }
-
-Compiles into:
-
-_d1:
- ucomisd %xmm0, %xmm0
- jnp LBB1_2
- addsd %xmm0, %xmm0
- ret
-LBB1_2:
- ret
-
-Also, the 'ret's should be shared. This is PR6032.
-
-//===---------------------------------------------------------------------===//
-
OpenPOWER on IntegriCloud