aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Target/X86/README.txt24
1 files changed, 0 insertions, 24 deletions
diff --git a/lib/Target/X86/README.txt b/lib/Target/X86/README.txt
index e140c147c6..530a3f26be 100644
--- a/lib/Target/X86/README.txt
+++ b/lib/Target/X86/README.txt
@@ -1554,30 +1554,6 @@ abs:
//===---------------------------------------------------------------------===//
Consider:
-
-#include <inttypes.h>
-uint64_t a;
-uint16_t b;
-uint64_t mul(void) {
- return a * b;
-}
-
-Currently, we generate the following:
-
-mul:
- movzwl b, %ecx
- movl %ecx, %eax
- mull a
- imull a+4, %ecx
- addl %edx, %ecx
- movl %ecx, %edx
- ret
-
-llvm should be able to commute the addl so that the movl isn't necessary.
-
-//===---------------------------------------------------------------------===//
-
-Consider:
int test(unsigned long a, unsigned long b) { return -(a < b); }
We currently compile this to: