diff options
author | Akira Hatanaka <ahatanaka@mips.com> | 2013-10-15 01:00:00 +0000 |
---|---|---|
committer | Akira Hatanaka <ahatanaka@mips.com> | 2013-10-15 01:00:00 +0000 |
commit | b00491341778776a4d994846ca2f7fafe79c161d (patch) | |
tree | 7f051ddb11407730732092ddcae6caa1bf7c369c /lib | |
parent | b6ed641c719e3f370b0e9120823b349993c3494b (diff) | |
download | external_llvm-b00491341778776a4d994846ca2f7fafe79c161d.zip external_llvm-b00491341778776a4d994846ca2f7fafe79c161d.tar.gz external_llvm-b00491341778776a4d994846ca2f7fafe79c161d.tar.bz2 |
[mips] Set HI/LO registers' HWEncoding field.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@192661 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Target/Mips/MipsRegisterInfo.td | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Target/Mips/MipsRegisterInfo.td b/lib/Target/Mips/MipsRegisterInfo.td index 94bfbf5..9ccad52 100644 --- a/lib/Target/Mips/MipsRegisterInfo.td +++ b/lib/Target/Mips/MipsRegisterInfo.td @@ -179,14 +179,14 @@ let Namespace = "Mips" in { DwarfRegNum<[!add(I, 32)]>; // Hi/Lo registers - def HI0 : Register<"ac0">, DwarfRegNum<[64]>; - def HI1 : Register<"ac1">, DwarfRegNum<[176]>; - def HI2 : Register<"ac2">, DwarfRegNum<[178]>; - def HI3 : Register<"ac3">, DwarfRegNum<[180]>; - def LO0 : Register<"ac0">, DwarfRegNum<[65]>; - def LO1 : Register<"ac1">, DwarfRegNum<[177]>; - def LO2 : Register<"ac2">, DwarfRegNum<[179]>; - def LO3 : Register<"ac3">, DwarfRegNum<[181]>; + def HI0 : MipsReg<0, "ac0">, DwarfRegNum<[64]>; + def HI1 : MipsReg<1, "ac1">, DwarfRegNum<[176]>; + def HI2 : MipsReg<2, "ac2">, DwarfRegNum<[178]>; + def HI3 : MipsReg<3, "ac3">, DwarfRegNum<[180]>; + def LO0 : MipsReg<0, "ac0">, DwarfRegNum<[65]>; + def LO1 : MipsReg<1, "ac1">, DwarfRegNum<[177]>; + def LO2 : MipsReg<2, "ac2">, DwarfRegNum<[179]>; + def LO3 : MipsReg<3, "ac3">, DwarfRegNum<[181]>; let SubRegIndices = [sub_32] in { def HI0_64 : RegisterWithSubRegs<"hi", [HI0]>; |