diff options
author | Tom Stellard <[email protected]> | 2012-08-02 19:42:50 +0000 |
---|---|---|
committer | Tom Stellard <[email protected]> | 2012-08-02 20:12:06 +0000 |
commit | f7fcaa07df7b3aab124576dec346ae4fa7c6715b (patch) | |
tree | fc619f976bfe1cb8b85e771d758c2b2b864e407f /src/gallium/drivers/radeon/R600Instructions.td | |
parent | a5ac8ee2c5e7dad3985b06c620d96cf077804ff9 (diff) |
radeon/llvm: Remove CMOVLOG DAG node
Diffstat (limited to 'src/gallium/drivers/radeon/R600Instructions.td')
-rw-r--r-- | src/gallium/drivers/radeon/R600Instructions.td | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeon/R600Instructions.td b/src/gallium/drivers/radeon/R600Instructions.td index f04fd63882a..c96bc40eaf6 100644 --- a/src/gallium/drivers/radeon/R600Instructions.td +++ b/src/gallium/drivers/radeon/R600Instructions.td @@ -450,7 +450,7 @@ def SETGE_UINT : R600_2OP < def CNDE_INT : R600_3OP < 0x1C, "CNDE_INT", [(set (i32 R600_Reg32:$dst), - (IL_cmov_logical R600_Reg32:$src0, R600_Reg32:$src2, R600_Reg32:$src1))] + (select R600_Reg32:$src0, R600_Reg32:$src2, R600_Reg32:$src1))] >; /* Texture instructions */ @@ -545,7 +545,7 @@ class MULADD_Common <bits<32> inst> : R600_3OP < class CNDE_Common <bits<32> inst> : R600_3OP < inst, "CNDE", [(set (f32 R600_Reg32:$dst), - (IL_cmov_logical R600_Reg32:$src0, R600_Reg32:$src2, R600_Reg32:$src1))] + (select (i32 (fp_to_sint (fneg R600_Reg32:$src0))), (f32 R600_Reg32:$src2), (f32 R600_Reg32:$src1)))] >; class CNDGT_Common <bits<32> inst> : R600_3OP < |