r600g: FLT_TO_INT_FLOOR is trans instruction
authorAlex Deucher <alexdeucher@gmail.com>
Fri, 21 Jan 2011 17:39:07 +0000 (12:39 -0500)
committerAlex Deucher <alexdeucher@gmail.com>
Fri, 21 Jan 2011 17:41:23 +0000 (12:41 -0500)
Add missing evergreen FLT_TO_INT_FLOOR instruction.

src/gallium/drivers/r600/r600_asm.c

index b9c74e93299a0aaf92cba75aa50fe7eafe02b0c0..f46059b9e90a485b205bb351d093db2314d9877a 100644 (file)
@@ -419,6 +419,7 @@ static int is_alu_trans_unit_inst(struct r600_bc *bc, struct r600_bc_alu *alu)
                if (!alu->is_op3)
                        return alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_ASHR_INT ||
                                alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT ||
+                               alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_FLT_TO_INT_FLOOR ||
                                alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_INT_TO_FLT ||
                                alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_LSHL_INT ||
                                alu->inst == EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_LSHR_INT ||