aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/X86/x86-64.s
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
commitd521f2d2f1a866ba9f9e73ca566e2b486c15dc74 (patch)
treea5e7a24358fcf6487d3b7882df8a05f8dd385dde /test/MC/X86/x86-64.s
parente234cd97173a83e9bddce6b7c84780476550a8df (diff)
downloadexternal_llvm-d521f2d2f1a866ba9f9e73ca566e2b486c15dc74.zip
external_llvm-d521f2d2f1a866ba9f9e73ca566e2b486c15dc74.tar.gz
external_llvm-d521f2d2f1a866ba9f9e73ca566e2b486c15dc74.tar.bz2
Changed the X86 PUSH64i8 record to use the i64i8imm ParserMatchClass so that a
push with a small constant produces a 2-byte push. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134501 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/X86/x86-64.s')
-rw-r--r--test/MC/X86/x86-64.s6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MC/X86/x86-64.s b/test/MC/X86/x86-64.s
index c30b436..6f828e8 100644
--- a/test/MC/X86/x86-64.s
+++ b/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