aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/X86/README-X86-64.txt
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Target/X86/README-X86-64.txt')
-rw-r--r--lib/Target/X86/README-X86-64.txt11
1 files changed, 1 insertions, 10 deletions
diff --git a/lib/Target/X86/README-X86-64.txt b/lib/Target/X86/README-X86-64.txt
index bdff56d..59cecdf 100644
--- a/lib/Target/X86/README-X86-64.txt
+++ b/lib/Target/X86/README-X86-64.txt
@@ -249,15 +249,6 @@ _a:
addq $8, %rsp
ret
-note the dead rsp adjustments. Also, there is surely a better/shorter way
-to clear the top 32-bits of a 64-bit register than movl+andq. Testcase here:
-
-unsigned long long c(unsigned long long a) {return a&4294967295; }
-
-_c:
- movl $4294967295, %ecx
- movq %rdi, %rax
- andq %rcx, %rax
- ret
+note the dead rsp adjustments.
//===---------------------------------------------------------------------===//