Mesa (master): r600g: FLT_TO_INT_FLOOR is trans instruction

Alex Deucher agd5f at kemper.freedesktop.org
Fri Jan 21 17:53:37 UTC 2011


Module: Mesa
Branch: master
Commit: 4b3789427f5eaef8560b9cb4845a6b1c92228f02
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=4b3789427f5eaef8560b9cb4845a6b1c92228f02

Author: Alex Deucher <alexdeucher at gmail.com>
Date:   Fri Jan 21 12:39:07 2011 -0500

r600g: FLT_TO_INT_FLOOR is trans instruction

Add missing evergreen FLT_TO_INT_FLOOR instruction.

---

 src/gallium/drivers/r600/r600_asm.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c
index b9c74e9..f46059b 100644
--- a/src/gallium/drivers/r600/r600_asm.c
+++ b/src/gallium/drivers/r600/r600_asm.c
@@ -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 ||




More information about the mesa-commit mailing list