this is an SSE-specific issue.
authorChris Lattner <sabre@nondot.org>
Wed, 13 Jan 2010 23:29:11 +0000 (23:29 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 13 Jan 2010 23:29:11 +0000 (23:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@93373 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Target/X86/README-SSE.txt
lib/Target/X86/README.txt

index 71ad51c7984eb5ee07cd9563cb261ac35aff302d..0f3e44b5289905176252a18415a26f9e3b96eb03 100644 (file)
@@ -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.
+
+//===---------------------------------------------------------------------===//
+
index f146ff363457fe6dd0bdea1da7e59859e0c23078..aa7bb3d9788924974c059e1c8fecbcc2241c1253 100644 (file)
@@ -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.
-
-//===---------------------------------------------------------------------===//
-