mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-29 00:33:01 +00:00
ppu-interpreter: improve vminfp instruction
This commit is contained in:
parent
623f1b35f6
commit
8540399ecb
@ -1027,7 +1027,9 @@ bool ppu_interpreter_precise::VMHRADDSHS(ppu_thread& ppu, ppu_opcode_t op)
|
|||||||
|
|
||||||
bool ppu_interpreter::VMINFP(ppu_thread& ppu, ppu_opcode_t op)
|
bool ppu_interpreter::VMINFP(ppu_thread& ppu, ppu_opcode_t op)
|
||||||
{
|
{
|
||||||
ppu.vr[op.vd].vf = _mm_min_ps(ppu.vr[op.va].vf, ppu.vr[op.vb].vf);
|
const auto a = ppu.vr[op.va].vf;
|
||||||
|
const auto b = ppu.vr[op.vb].vf;
|
||||||
|
ppu.vr[op.vd].vf = _mm_or_ps(_mm_min_ps(a, b), _mm_min_ps(b, a));
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user