summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorKevin Enderby <enderby@apple.com>2011-07-06 17:23:46 +0000
committerKevin Enderby <enderby@apple.com>2011-07-06 17:23:46 +0000
commit6ee1d2bd78ea24b2dc26656b97a9701ad7913883 (patch)
treef0d4e58a39e9a728795d527839f5a1e2ac50ca7a /llvm/test
parentafb9ba7dad7bed5ad032df182dc9ee07df7af11d (diff)
downloadbcm5719-llvm-6ee1d2bd78ea24b2dc26656b97a9701ad7913883.tar.gz
bcm5719-llvm-6ee1d2bd78ea24b2dc26656b97a9701ad7913883.zip
Changed the X86 PUSH64i8 record to use the i64i8imm ParserMatchClass so that a
push with a small constant produces a 2-byte push. llvm-svn: 134501
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/MC/X86/x86-64.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/test/MC/X86/x86-64.s b/llvm/test/MC/X86/x86-64.s
index c30b436f9bd..6f828e815d0 100644
--- a/llvm/test/MC/X86/x86-64.s
+++ b/llvm/test/MC/X86/x86-64.s
@@ -219,6 +219,12 @@ inb $161, %al
// CHECK: pushq $1
push $1
+// rdar://9716860
+pushq $1
+// CHECK: encoding: [0x6a,0x01]
+pushq $1111111
+// CHECK: encoding: [0x68,0x47,0xf4,0x10,0x00]
+
// rdar://8017530
// CHECK: sldtw 4
sldt 4
OpenPOWER on IntegriCloud