forked from OSchip/llvm-project
Teach x86 asm parser to handle 'opaque ptr' in Intel syntax.
llvm-svn: 199477
This commit is contained in:
parent
9ac290ad5b
commit
2d4b3c9770
|
@ -1247,6 +1247,7 @@ static unsigned getIntelMemOperandSize(StringRef OpStr) {
|
|||
.Cases("XMMWORD", "xmmword", 128)
|
||||
.Cases("YMMWORD", "ymmword", 256)
|
||||
.Cases("ZMMWORD", "zmmword", 512)
|
||||
.Cases("OPAQUE", "opaque", -1U) // needs to be non-zero, but doesn't matter
|
||||
.Default(0);
|
||||
return Size;
|
||||
}
|
||||
|
|
|
@ -588,5 +588,5 @@ fdivr ST(1)
|
|||
|
||||
// CHECK: fxsaveq (%rax)
|
||||
// CHECK: fxrstorq (%rax)
|
||||
fxsave64 [rax]
|
||||
fxrstor64 [rax]
|
||||
fxsave64 opaque ptr [rax]
|
||||
fxrstor64 opaque ptr [rax]
|
||||
|
|
Loading…
Reference in New Issue