diff options
author | Scott Michel <scottm@aero.org> | 2007-12-20 00:44:13 +0000 |
---|---|---|
committer | Scott Michel <scottm@aero.org> | 2007-12-20 00:44:13 +0000 |
commit | 86c041f50e17f7fcd18193ff49e58379924d6472 (patch) | |
tree | 581d062c9cd0bb0df1a7a8ab5f6d65ca66fdb572 /lib/Target/CellSPU/SPUInstrInfo.cpp | |
parent | e3611871cb5430f9c958cab1be7ef2e0778b3241 (diff) |
More working CellSPU tests:
- vec_const.ll: Vector constant loads
- immed64.ll: i64, f64 constant loads
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45242 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/CellSPU/SPUInstrInfo.cpp')
-rw-r--r-- | lib/Target/CellSPU/SPUInstrInfo.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/lib/Target/CellSPU/SPUInstrInfo.cpp b/lib/Target/CellSPU/SPUInstrInfo.cpp index 5c2bd52d50..7d008c030d 100644 --- a/lib/Target/CellSPU/SPUInstrInfo.cpp +++ b/lib/Target/CellSPU/SPUInstrInfo.cpp @@ -49,8 +49,6 @@ SPUInstrInfo::isMoveInstr(const MachineInstr& MI, break; case SPU::ORIv4i32: case SPU::ORIr32: - case SPU::ORIf64: - case SPU::ORIf32: case SPU::ORIr64: case SPU::ORHIv8i16: case SPU::ORHIr16: @@ -86,18 +84,6 @@ SPUInstrInfo::isMoveInstr(const MachineInstr& MI, return true; } break; -#if 0 - case SPU::ORIf64: - case SPU::ORIf32: - // Special case because there's no third immediate operand to the - // instruction (the constant is embedded in the instruction) - assert(MI.getOperand(0).isRegister() && - MI.getOperand(1).isRegister() && - "ORIf32/f64: operands not registers"); - sourceReg = MI.getOperand(1).getReg(); - destReg = MI.getOperand(0).getReg(); - return true; -#endif case SPU::ORv16i8_i8: case SPU::ORv8i16_i16: case SPU::ORv4i32_i32: @@ -115,6 +101,8 @@ SPUInstrInfo::isMoveInstr(const MachineInstr& MI, case SPU::ORv4i32: case SPU::ORr32: case SPU::ORr64: + case SPU::ORf32: + case SPU::ORf64: case SPU::ORgprc: assert(MI.getNumOperands() == 3 && MI.getOperand(0).isRegister() && |