projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[X86] Fix incorrect/inefficient pushw encodings for x86-64 targets
[oota-llvm.git]
/
test
/
MC
/
ELF
/
relax-arith.s
diff --git
a/test/MC/ELF/relax-arith.s
b/test/MC/ELF/relax-arith.s
index d4f37a9ddf9f500b39c3c59a8dad62eb742747e3..15e44ebff7ef6f675ee113b5a06c9c999e203315 100644
(file)
--- a/
test/MC/ELF/relax-arith.s
+++ b/
test/MC/ELF/relax-arith.s
@@
-115,3
+115,11
@@
bar:
cmpl $foo, bar
cmp $foo, %rbx
cmpq $foo, bar
+
+// CHECK: Disassembly of section push:
+// CHECK-NEXT: push:
+// CHECK-NEXT: 0: 66 68 00 00 pushw $0
+// CHECK-NEXT: 4: 68 00 00 00 00 pushq $0
+ .section push,"x"
+ pushw $foo
+ push $foo