aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/X86/README.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index 81babc50a9..f52c625270 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -709,3 +709,16 @@ float uint32_2_float( unsigned u ) {
When using fastcc abi, align stack slot of argument of type double on 8 byte
boundary to improve performance.
+
+//===---------------------------------------------------------------------===//
+
+Codegen:
+
+if ((variable == 4) || (variable == 6)) { stuff }
+
+as:
+
+or eax, 2
+cmp eax, 6
+jz label
+