[PATCH] D11257: Adding support for TBYTE type for MS inline asm

Marina Yatsina marina.yatsina at intel.com
Thu Jul 16 02:13:58 PDT 2015


myatsina created this revision.
myatsina added a reviewer: mcrosier.
myatsina added a subscriber: llvm-commits.
myatsina set the repository for this revision to rL LLVM.

Adding support for TBYTE type for MS inline asm

Repository:
  rL LLVM

http://reviews.llvm.org/D11257

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
@@ -1028,6 +1028,7 @@
     .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)
Index: test/MC/X86/intel-syntax.s
===================================================================
--- test/MC/X86/intel-syntax.s
+++ test/MC/X86/intel-syntax.s
@@ -635,10 +635,12 @@
 // 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)
 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11257.29875.patch
Type: text/x-patch
Size: 931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150716/1bfca58e/attachment.bin>


More information about the llvm-commits mailing list