aboutsummaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/X86/x86_64-encoding.s
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-07-07 22:27:31 +0000
committerChris Lattner <sabre@nondot.org>2010-07-07 22:27:31 +0000
commite6a8d364296ce80445eb283bf5beb7740711754c (patch)
tree80e881778ade5df564b576347d6303c2849475d6 /test/MC/AsmParser/X86/x86_64-encoding.s
parent23b23d223399167ac18eecbf5df9492dc49a7089 (diff)
downloadexternal_llvm-e6a8d364296ce80445eb283bf5beb7740711754c.zip
external_llvm-e6a8d364296ce80445eb283bf5beb7740711754c.tar.gz
external_llvm-e6a8d364296ce80445eb283bf5beb7740711754c.tar.bz2
Implement the major chunk of PR7195: support for 'callw'
in the integrated assembler. Still some discussion to be done. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107825 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/X86/x86_64-encoding.s')
-rw-r--r--test/MC/AsmParser/X86/x86_64-encoding.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/MC/AsmParser/X86/x86_64-encoding.s b/test/MC/AsmParser/X86/x86_64-encoding.s
index db2f715..53b79ee 100644
--- a/test/MC/AsmParser/X86/x86_64-encoding.s
+++ b/test/MC/AsmParser/X86/x86_64-encoding.s
@@ -1,5 +1,10 @@
// RUN: llvm-mc -triple x86_64-unknown-unknown --show-encoding %s | FileCheck %s
+// PR7195
+// CHECK: callw 42
+// CHECK: encoding: [0x66,0xe8,A,A]
+ callw 42
+
// CHECK: crc32b %bl, %eax
// CHECK: encoding: [0xf2,0x0f,0x38,0xf0,0xc3]
crc32b %bl, %eax