mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-10 06:25:01 +00:00
Teach x86 asm parser to handle 'opaque ptr' in Intel syntax.
llvm-svn: 199477
This commit is contained in:
parent
5f334ea607
commit
913806d6aa
@ -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