[PATCH] D15268: Adding support for FWORD type for MS inline asm
Marina Yatsina via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 6 10:11:30 PST 2015
myatsina created this revision.
myatsina added reviewers: rnk, mcrosier.
myatsina added a subscriber: llvm-commits.
myatsina set the repository for this revision to rL LLVM.
Adding support for FWORD type for MS inline asm
Repository:
rL LLVM
http://reviews.llvm.org/D15268
Files:
lib/Target/X86/AsmParser/X86AsmParser.cpp
test/MC/X86/intel-syntax.s
Index: lib/Target/X86/AsmParser/X86AsmParser.cpp
===================================================================
--- lib/Target/X86/AsmParser/X86AsmParser.cpp
+++ lib/Target/X86/AsmParser/X86AsmParser.cpp
@@ -1049,6 +1049,7 @@
.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)
Index: test/MC/X86/intel-syntax.s
===================================================================
--- test/MC/X86/intel-syntax.s
+++ test/MC/X86/intel-syntax.s
@@ -746,3 +746,6 @@
loopnz _foo
// CHECK: loope _foo
// CHECK: loopne _foo
+
+sidt fword ptr [eax]
+// CHECK: sidtq (%eax)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15268.42017.patch
Type: text/x-patch
Size: 755 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151206/e7bfc964/attachment.bin>
More information about the llvm-commits
mailing list