cell: fix fm/fs copy & paste bug from a few commits ago
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Oct 2008 18:04:19 +0000 (12:04 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Oct 2008 18:04:19 +0000 (12:04 -0600)
src/gallium/drivers/cell/ppu/cell_gen_fp.c

index 7a4e8d20ba2d7ced22bbe1010180a1f66f3656c4..ab71336754c589b5a66f936f8d3c0c731ab0e5e5 100644 (file)
@@ -474,7 +474,7 @@ emit_SUB(struct codegen *gen, const struct tgsi_full_instruction *inst)
    for (ch = 0; ch < 4; ch++) {
       if (inst->FullDstRegisters[0].DstRegister.WriteMask & (1 << ch)) {
          /* d = s1 - s2 */
-         spe_fm(gen->f, d_reg[ch], s1_reg[ch], s2_reg[ch]);
+         spe_fs(gen->f, d_reg[ch], s1_reg[ch], s2_reg[ch]);
          store_dest_reg(gen, d_reg[ch], ch, &inst->FullDstRegisters[0]);
          free_itemps(gen);
       }