mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 03:33:20 +01:00
[X86] Remove the AsmName from the HAX,HDX,HCX,HBX,HSI,HDI,HBP,HSP,HIP artificial registers so they can't be parsed by the assembly parser.
There are no instructions that use them so they weren't causing any bad matches. But they weren't being diagnosed as "invalid register name" if they were used and would instead trigger some form of invalid operand. llvm-svn: 336054
This commit is contained in:
parent
8cc063c7f8
commit
1f4ba95145
@ -90,15 +90,15 @@ def SP : X86Reg<"sp", 4, [SPL]>;
|
||||
def IP : X86Reg<"ip", 0>;
|
||||
|
||||
let isArtificial = 1 in {
|
||||
def HAX : X86Reg<"hax", -1>;
|
||||
def HDX : X86Reg<"hdx", -3>;
|
||||
def HCX : X86Reg<"hcx", -2>;
|
||||
def HBX : X86Reg<"hbx", -4>;
|
||||
def HSI : X86Reg<"hsi", -7>;
|
||||
def HDI : X86Reg<"hdi", -8>;
|
||||
def HBP : X86Reg<"hbp", -6>;
|
||||
def HSP : X86Reg<"hsp", -5>;
|
||||
def HIP : X86Reg<"hip", -1>;
|
||||
def HAX : X86Reg<"", -1>;
|
||||
def HDX : X86Reg<"", -3>;
|
||||
def HCX : X86Reg<"", -2>;
|
||||
def HBX : X86Reg<"", -4>;
|
||||
def HSI : X86Reg<"", -7>;
|
||||
def HDI : X86Reg<"", -8>;
|
||||
def HBP : X86Reg<"", -6>;
|
||||
def HSP : X86Reg<"", -5>;
|
||||
def HIP : X86Reg<"", -1>;
|
||||
}
|
||||
|
||||
// X86-64 only, requires REX.
|
||||
|
Loading…
Reference in New Issue
Block a user