diff options
author | Tom Stellard <[email protected]> | 2012-05-24 12:17:58 -0400 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-05-24 14:12:32 -0400 |
commit | 33e7db9a1dafdcf5c7c745180831403e0485544d (patch) | |
tree | a2538001313b34330fdf84ffee2a7e9d77cd1394 /src/gallium/drivers/radeon/R600InstrInfo.cpp | |
parent | d088da917bb3495491b9a5da5ca1716ddd91ddd5 (diff) |
radeon/llvm: Lower UDIV using the Selection DAG
Diffstat (limited to 'src/gallium/drivers/radeon/R600InstrInfo.cpp')
-rw-r--r-- | src/gallium/drivers/radeon/R600InstrInfo.cpp | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/src/gallium/drivers/radeon/R600InstrInfo.cpp b/src/gallium/drivers/radeon/R600InstrInfo.cpp index 684c845e076..99153574675 100644 --- a/src/gallium/drivers/radeon/R600InstrInfo.cpp +++ b/src/gallium/drivers/radeon/R600InstrInfo.cpp @@ -100,38 +100,3 @@ unsigned R600InstrInfo::getLSHRop() const return AMDIL::LSHR_eg; } } - -unsigned R600InstrInfo::getMULHI_UINT() const -{ - unsigned gen = TM.getSubtarget<AMDILSubtarget>().device()->getGeneration(); - - if (gen < AMDILDeviceInfo::HD5XXX) { - return AMDIL::MULHI_UINT_r600; - } else { - return AMDIL::MULHI_UINT_eg; - } -} - -unsigned R600InstrInfo::getMULLO_UINT() const -{ - unsigned gen = TM.getSubtarget<AMDILSubtarget>().device()->getGeneration(); - - if (gen < AMDILDeviceInfo::HD5XXX) { - return AMDIL::MULLO_UINT_r600; - } else { - return AMDIL::MULLO_UINT_eg; - } -} - -unsigned R600InstrInfo::getRECIP_UINT() const -{ - const AMDILDevice * dev = TM.getSubtarget<AMDILSubtarget>().device(); - - if (dev->getGeneration() < AMDILDeviceInfo::HD5XXX) { - return AMDIL::RECIP_UINT_r600; - } else if (dev->getDeviceFlag() != OCL_DEVICE_CAYMAN) { - return AMDIL::RECIP_UINT_eg; - } else { - return AMDIL::RECIP_UINT_cm; - } -} |