From 86dfae1103faa9e0329e68e3ab7c1684a0c12892 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Wed, 23 May 2012 12:10:10 -0400 Subject: [PATCH] radeon/llvm: Handle SETGE_INT, SETGE_UINT, and SETGT_UINT opcodes Support for these was inadvertently dropped in commit cee23ab246f22210b3063cdc47bdb45b3d943526 --- src/gallium/drivers/radeon/R600InstrInfo.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/gallium/drivers/radeon/R600InstrInfo.cpp b/src/gallium/drivers/radeon/R600InstrInfo.cpp index af106b225f9..684001593e7 100644 --- a/src/gallium/drivers/radeon/R600InstrInfo.cpp +++ b/src/gallium/drivers/radeon/R600InstrInfo.cpp @@ -73,11 +73,17 @@ unsigned R600InstrInfo::getISAOpcode(unsigned opcode) const return AMDIL::SETE_INT; case AMDIL::INE: return AMDIL::SETNE_INT; + case AMDIL::IGE: + return AMDIL::SETGE_INT; case AMDIL::MOVE_f32: case AMDIL::MOVE_i32: return AMDIL::MOV; case AMDIL::SHR_i32: return getASHRop(); + case AMDIL::UGE: + return AMDIL::SETGE_UINT; + case AMDIL::UGT: + return AMDIL::SETGT_UINT; case AMDIL::USHR_i32: return getLSHRop(); } -- 2.30.2