forked from OSchip/llvm-project
[X86] Add support for tbyte memory operand size for Intel-syntax x86 assembly
Differential Revision: http://reviews.llvm.org/D11257 Patch by: marina.yatsina@intel.com llvm-svn: 242639
This commit is contained in:
parent
ba51d116c4
commit
69e40a4c85
|
@ -1028,6 +1028,7 @@ static unsigned getIntelMemOperandSize(StringRef OpStr) {
|
|||
.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)
|
||||
|
|
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue