mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 21:31:41 +00:00
Teach x86 asm parser to handle 'opaque ptr' in Intel syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@199477 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
9d0b786f72
commit
50a2b1672d
@ -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…
x
Reference in New Issue
Block a user