diff options
author | Vadim Girlin <[email protected]> | 2012-01-17 16:09:00 +0400 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2012-01-17 19:53:20 +0000 |
commit | 4ba4853c0a613f771b44806cd5ce376838479802 (patch) | |
tree | e3e8b17be404bc89edc3609963bc72dc5e4dfd5d /src/gallium/drivers/r600/r600_asm.c | |
parent | 7fa5c919b0025f02e5d2a7de8f59e6109bfe3cb9 (diff) |
r600g: rework IDIV/UDIV and implement MOD/UMOD (v2)
Signed-off-by: Vadim Girlin <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_asm.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_asm.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600_asm.c b/src/gallium/drivers/r600/r600_asm.c index 23350e25967..7c76bd5abad 100644 --- a/src/gallium/drivers/r600/r600_asm.c +++ b/src/gallium/drivers/r600/r600_asm.c @@ -191,6 +191,8 @@ static inline unsigned int r600_bytecode_get_num_operands(struct r600_bytecode * case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_RNDNE: case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_NOT_INT: case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INTERP_LOAD_P0: + case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_RECIP_INT: + case EG_V_SQ_ALU_WORD1_OP2_SQ_OP2_INST_RECIP_UINT: return 1; default: R600_ERR( "Need instruction operand number for 0x%x.\n", alu->inst); |