diff options
author | Tom Stellard <[email protected]> | 2012-06-06 11:35:48 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-06-06 20:50:36 -0400 |
commit | 9c46cb23685d0b28d5b9124f6dd26f27d028ed30 (patch) | |
tree | 04f998193917fb08b0ada98b5567e0fdccb9c42b /src/gallium/drivers/radeon/R600InstrInfo.cpp | |
parent | 0c4b19ac63efa41242c515824301e6161aceeea5 (diff) |
radeon/llvm: Fix MULLO* instructions on Cayman
On Cayman, the MULLO* instructions must fill all slots in an
instruction group.
Diffstat (limited to 'src/gallium/drivers/radeon/R600InstrInfo.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/R600InstrInfo.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600InstrInfo.cpp b/src/gallium/drivers/radeon/R600InstrInfo.cpp index 3d65e7373c9..d1246d3e0ff 100644 --- a/src/gallium/drivers/radeon/R600InstrInfo.cpp +++ b/src/gallium/drivers/radeon/R600InstrInfo.cpp @@ -33,6 +33,11 @@ bool R600InstrInfo::isTrig(const MachineInstr &MI) const return get(MI.getOpcode()).TSFlags & R600_InstFlag::TRIG; } +bool R600InstrInfo::isVector(const MachineInstr &MI) const +{ + return get(MI.getOpcode()).TSFlags & R600_InstFlag::VECTOR; +} + void R600InstrInfo::copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator MI, DebugLoc DL, |