summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Lejeune <vljn@ovi.com>2012-07-14 18:44:38 +0200
committerVincent Lejeune <vljn@ovi.com>2012-07-14 20:29:01 +0200
commit82e6c4524b201fc96bf802eeeef5569fe76f0b9a (patch)
tree47663821e60820c76bc1ff8f91089bacfd61c478
parent6022ba9009a220eb9dea1b6626d37b4c58c5c362 (diff)
add a setue pattern
-rw-r--r--src/gallium/drivers/radeon/R600Instructions.td5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td
index db23c1091b..75e1989ebf 100644
--- a/src/gallium/drivers/radeon/R600Instructions.td
+++ b/src/gallium/drivers/radeon/R600Instructions.td
@@ -458,6 +458,11 @@ def SETE_INT : R600_2OP <
(selectcc (i32 R600_Reg32:$src0), R600_Reg32:$src1, -1, 0, SETEQ))]
>;
+def : Pat<
+ (selectcc (i32 R600_Reg32:$src0), R600_Reg32:$src1, -1, 0, SETUEQ),
+ (SETE_INT R600_Reg32:$src0, R600_Reg32:$src1)
+>;
+
def SETGT_INT : R600_2OP <
0x3B, "SGT_INT",
[(set (i32 R600_Reg32:$dst),