[llvm] r254904 - [X86] Adding support for FWORD type for MS inline asm
Marina Yatsina via llvm-commits
llvm-commits at lists.llvm.org
Mon Dec 7 05:09:20 PST 2015
Author: myatsina
Date: Mon Dec 7 07:09:20 2015
New Revision: 254904
URL: http://llvm.org/viewvc/llvm-project?rev=254904&view=rev
Log:
[X86] Adding support for FWORD type for MS inline asm
Adding support for FWORD type for MS inline asm.
Differential Revision: http://reviews.llvm.org/D15268
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=254904&r1=254903&r2=254904&view=diff
==============================================================================
--- llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp (original)
+++ llvm/trunk/lib/Target/X86/AsmParser/X86AsmParser.cpp Mon Dec 7 07:09:20 2015
@@ -1049,6 +1049,7 @@ static unsigned getIntelMemOperandSize(S
.Cases("BYTE", "byte", 8)
.Cases("WORD", "word", 16)
.Cases("DWORD", "dword", 32)
+ .Cases("FWORD", "fword", 48)
.Cases("QWORD", "qword", 64)
.Cases("MMWORD","mmword", 64)
.Cases("XWORD", "xword", 80)
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=254904&r1=254903&r2=254904&view=diff
==============================================================================
--- llvm/trunk/test/MC/X86/intel-syntax.s (original)
+++ llvm/trunk/test/MC/X86/intel-syntax.s Mon Dec 7 07:09:20 2015
@@ -746,3 +746,6 @@ loopz _foo
loopnz _foo
// CHECK: loope _foo
// CHECK: loopne _foo
+
+sidt fword ptr [eax]
+// CHECK: sidtq (%eax)
More information about the llvm-commits
mailing list