[SystemZ] Define the GR64 low-word logic instructions as pseudo aliases.

Another patch to avoid duplication of encoding information.  Things like
NILF, NILL and NILH are used as both 32-bit and 64-bit instructions.
Here the 64-bit versions are defined as aliases of the 32-bit ones.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@191369 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Richard Sandiford
2013-09-25 11:11:53 +00:00
parent 3f22cc1df6
commit 259a6006e8
8 changed files with 160 additions and 111 deletions
+6 -6
View File
@@ -535,14 +535,14 @@ namespace {
static LogicOp interpretAndImmediate(unsigned Opcode) {
switch (Opcode) {
case SystemZ::NILL32: return LogicOp(32, 0, 16);
case SystemZ::NILH32: return LogicOp(32, 16, 16);
case SystemZ::NILL: return LogicOp(64, 0, 16);
case SystemZ::NILH: return LogicOp(64, 16, 16);
case SystemZ::NILL: return LogicOp(32, 0, 16);
case SystemZ::NILH: return LogicOp(32, 16, 16);
case SystemZ::NILL64: return LogicOp(64, 0, 16);
case SystemZ::NILH64: return LogicOp(64, 16, 16);
case SystemZ::NIHL: return LogicOp(64, 32, 16);
case SystemZ::NIHH: return LogicOp(64, 48, 16);
case SystemZ::NILF32: return LogicOp(32, 0, 32);
case SystemZ::NILF: return LogicOp(64, 0, 32);
case SystemZ::NILF: return LogicOp(32, 0, 32);
case SystemZ::NILF64: return LogicOp(64, 0, 32);
case SystemZ::NIHF: return LogicOp(64, 32, 32);
default: return LogicOp();
}