summaryrefslogtreecommitdiff
path: root/test/MC/AsmParser
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
commit9fc05227a2596c545b845ed9a72673995e49d16b (patch)
tree80e881778ade5df564b576347d6303c2849475d6 /test/MC/AsmParser
parentcc69e13a36b2238d8e0a2fc01463d16943c08936 (diff)
downloadllvm-9fc05227a2596c545b845ed9a72673995e49d16b.tar.gz
llvm-9fc05227a2596c545b845ed9a72673995e49d16b.tar.bz2
llvm-9fc05227a2596c545b845ed9a72673995e49d16b.tar.xz
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')
-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 db2f7156db..53b79ee1dd 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