aboutsummaryrefslogtreecommitdiff
path: root/test/MC
diff options
context:
space:
mode:
authorCoby Tayree <coby.tayree@intel.com>2017-09-28 11:04:08 +0000
committerCoby Tayree <coby.tayree@intel.com>2017-09-28 11:04:08 +0000
commitc4a1886529aeb7ec19427ef4f7ba03db67230c48 (patch)
tree4ff00062681dca8391940a7eeab6b19cc590244c /test/MC
parent078c2c3fc4990f119d9cbc7e9d4d7584a614f3c0 (diff)
downloadllvm-c4a1886529aeb7ec19427ef4f7ba03db67230c48.tar.gz
[x86][AsmParser] Allow some more MS size directives
MS allows the following size directives: float/double and long as synonymous to dword/qword and dword, respectively. Differential Revision: https://reviews.llvm.org/D37190 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@314410 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC')
-rw-r--r--test/MC/X86/intel-syntax.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/MC/X86/intel-syntax.s b/test/MC/X86/intel-syntax.s
index 352544e4c77..21bec91d83a 100644
--- a/test/MC/X86/intel-syntax.s
+++ b/test/MC/X86/intel-syntax.s
@@ -693,11 +693,13 @@ fadd dword ptr "?half@?0??bar@@YAXXZ@4NA"@IMGREL
// CHECK: fadds "?half@?0??bar@@YAXXZ@4NA"@IMGREL
inc qword ptr [rax]
+inc long ptr [rax]
inc dword ptr [rax]
inc word ptr [rax]
inc byte ptr [rax]
// CHECK: incq (%rax)
// CHECK: incl (%rax)
+// CHECK: incl (%rax)
// CHECK: incw (%rax)
// CHECK: incb (%rax)
@@ -807,6 +809,11 @@ fbstp tbyte ptr [eax]
// CHECK: fbld (%eax)
// CHECK: fbstp (%eax)
+fld float ptr [rax]
+fld double ptr [rax]
+// CHECK: flds (%rax)
+// CHECK: fldl (%rax)
+
fcomip st, st(2)
fucomip st, st(2)
// CHECK: fcompi %st(2)