[llvm] r242639 - [X86] Add support for tbyte memory operand size for Intel-syntax x86 assembly
Michael Kuperstein
michael.m.kuperstein at intel.com
Sun Jul 19 04:03:08 PDT 2015
Author: mkuper
Date: Sun Jul 19 06:03:08 2015
New Revision: 242639
URL: http://llvm.org/viewvc/llvm-project?rev=242639&view=rev
Log:
[X86] Add support for tbyte memory operand size for Intel-syntax x86 assembly
Differential Revision: http://reviews.llvm.org/D11257
Patch by: marina.yatsina at intel.com
Modified:
llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
llvm/trunk/test/MC/X86/intel-syntax.s
Modified: llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp?rev=242639&r1=242638&r2=242639&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Sun Jul 19 06:03:08 2015
@@ -1028,6 +1028,7 @@ static unsigned getIntelMemOperandSize(S
.Cases("DWORD", "dword", 32)
.Cases("QWORD", "qword", 64)
.Cases("XWORD", "xword", 80)
+ .Cases("TBYTE", "tbyte", 80)
.Cases("XMMWORD", "xmmword", 128)
.Cases("YMMWORD", "ymmword", 256)
.Cases("ZMMWORD", "zmmword", 512)
Modified: llvm/trunk/test/MC/X86/intel-syntax.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/X86/intel-syntax.s?rev=242639&r1=242638&r2=242639&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/intel-syntax.s (original)
+++ llvm/trunk/test/MC/X86/intel-syntax.s Sun Jul 19 06:03:08 2015
@@ -635,10 +635,12 @@ add byte ptr [rax], 1
// CHECK: addw $1, (%rax)
// CHECK: addb $1, (%rax)
+fstp tbyte ptr [rax]
fstp xword ptr [rax]
fstp qword ptr [rax]
fstp dword ptr [rax]
// CHECK: fstpt (%rax)
+// CHECK: fstpt (%rax)
// CHECK: fstpl (%rax)
// CHECK: fstps (%rax)
More information about the llvm-commits
mailing list