diff options
| author | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-09-30 10:45:16 +0000 |
|---|---|---|
| committer | Richard Sandiford <rsandifo@linux.vnet.ibm.com> | 2013-09-30 10:45:16 +0000 |
| commit | eb2f72f454048a1d179d1c75f5a953c7dfe43fc9 (patch) | |
| tree | d14dcdb1d6e4a0ec75163fa605c1c0e4744c18f8 /lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp | |
| parent | 745ca1eed7dc0a056b066f16aea750ce6fa8a530 (diff) | |
| download | external_llvm-eb2f72f454048a1d179d1c75f5a953c7dfe43fc9.zip external_llvm-eb2f72f454048a1d179d1c75f5a953c7dfe43fc9.tar.gz external_llvm-eb2f72f454048a1d179d1c75f5a953c7dfe43fc9.tar.bz2 | |
[SystemZ] Add GRH32 for the high word of a GR64
The only thing this does on its own is make the definitions of RISB[HL]G
a bit more precise. Those instructions are only used by the MC layer at
the moment, so no behavioral change is intended. The class is needed by
later patches though.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191660 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp')
| -rw-r--r-- | lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp b/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp index f17a621..9a4a290 100644 --- a/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp +++ b/lib/Target/SystemZ/MCTargetDesc/SystemZMCTargetDesc.cpp @@ -34,6 +34,13 @@ const unsigned SystemZMC::GR32Regs[16] = { SystemZ::R12L, SystemZ::R13L, SystemZ::R14L, SystemZ::R15L }; +const unsigned SystemZMC::GRH32Regs[16] = { + SystemZ::R0H, SystemZ::R1H, SystemZ::R2H, SystemZ::R3H, + SystemZ::R4H, SystemZ::R5H, SystemZ::R6H, SystemZ::R7H, + SystemZ::R8H, SystemZ::R9H, SystemZ::R10H, SystemZ::R11H, + SystemZ::R12H, SystemZ::R13H, SystemZ::R14H, SystemZ::R15H +}; + const unsigned SystemZMC::GR64Regs[16] = { SystemZ::R0D, SystemZ::R1D, SystemZ::R2D, SystemZ::R3D, SystemZ::R4D, SystemZ::R5D, SystemZ::R6D, SystemZ::R7D, |
