diff options
author | Brian Paul <[email protected]> | 2008-09-19 09:36:29 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-09-19 09:36:29 -0600 |
commit | 0838b702750d85b0284a97be211fa379e9f8d8d8 (patch) | |
tree | 8a66c1118d914384bb85ae5a2720372aca4b5e49 /src/gallium/drivers/cell/ppu/cell_gen_fp.c | |
parent | d310c52c7f6dd586673e848712f5977a03ff1438 (diff) |
cell: change spe_complement() to take a src and dst reg, like other instructions
Diffstat (limited to 'src/gallium/drivers/cell/ppu/cell_gen_fp.c')
-rw-r--r-- | src/gallium/drivers/cell/ppu/cell_gen_fp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/cell/ppu/cell_gen_fp.c b/src/gallium/drivers/cell/ppu/cell_gen_fp.c index 6f2b89c695c..d835aae2552 100644 --- a/src/gallium/drivers/cell/ppu/cell_gen_fp.c +++ b/src/gallium/drivers/cell/ppu/cell_gen_fp.c @@ -924,7 +924,7 @@ emit_IF(struct codegen *gen, const struct tgsi_full_instruction *inst) /* tmp = (s1_reg == 0) */ spe_ceqi(gen->f, tmp_reg, s1_reg, 0); /* tmp = !tmp */ - spe_complement(gen->f, tmp_reg); + spe_complement(gen->f, tmp_reg, tmp_reg); /* exec_mask = exec_mask & tmp */ spe_and(gen->f, exec_reg, exec_reg, tmp_reg); @@ -944,7 +944,7 @@ emit_ELSE(struct codegen *gen, const struct tgsi_full_instruction *inst) spe_comment(gen->f, -4, "ELSE:"); /* exec_mask = !exec_mask */ - spe_complement(gen->f, exec_reg); + spe_complement(gen->f, exec_reg, exec_reg); return true; } |