spu: improve dfnma instruction

This commit is contained in:
scribam 2018-06-28 13:59:27 +02:00 committed by Ivan
parent 2ed6e51d24
commit 1b0f5b1ed9
3 changed files with 4 additions and 5 deletions

View file

@ -4141,7 +4141,7 @@ public:
void DFNMA(spu_opcode_t op) //
{
set_vr(op.rt, -get_vr<f64[2]>(op.rt) - get_vr<f64[2]>(op.ra) * get_vr<f64[2]>(op.rb));
set_vr(op.rt, -(get_vr<f64[2]>(op.ra) * get_vr<f64[2]>(op.rb) + get_vr<f64[2]>(op.rt)));
}
void FREST(spu_opcode_t op) //