r600g: shift integer ops are trans unit only on r600.
authorDave Airlie <airlied@redhat.com>
Sun, 22 Jan 2012 17:24:29 +0000 (17:24 +0000)
committerDave Airlie <airlied@redhat.com>
Sun, 22 Jan 2012 17:25:38 +0000 (17:25 +0000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_asm.c

index c0e33fab5648f6554a3ecdadc8ab340714cd8827..a88870430d785d1796854dd78c5a1165f38fc1ad 100644 (file)
@@ -493,6 +493,7 @@ static int is_alu_trans_unit_inst(struct r600_bytecode *bc, struct r600_bytecode
 
        switch (bc->chip_class) {
        case R600:
+               return alu->is_op3 ? RANGE(0x0C, 0x0C) : RANGE(0x60, 0x79);
        case R700:
                return alu->is_op3 ? RANGE(0x0C, 0x0C) : RANGE(0x60, 0x6F) | RANGE(0x73, 0x79);
        case EVERGREEN: