radeon/llvm: Handle SETGE_INT, SETGE_UINT, and SETGT_UINT opcodes
authorTom Stellard <thomas.stellard@amd.com>
Wed, 23 May 2012 16:10:10 +0000 (12:10 -0400)
committerTom Stellard <thomas.stellard@amd.com>
Thu, 24 May 2012 18:12:30 +0000 (14:12 -0400)
Support for these was inadvertently dropped in commit
cee23ab246f22210b3063cdc47bdb45b3d943526

src/gallium/drivers/radeon/R600InstrInfo.cpp

index af106b2..6840015 100644 (file)
@@ -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();
   }