mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12:00
SPU: improve SHUFB
This commit is contained in:
parent
c5709f71b3
commit
944e89058e
3 changed files with 33 additions and 28 deletions
|
@ -2513,7 +2513,7 @@ public:
|
|||
const auto cr = c ^ 0xf;
|
||||
const auto a = pshufb(get_vr<u8[16]>(op.ra), cr);
|
||||
const auto b = pshufb(get_vr<u8[16]>(op.rb), cr);
|
||||
set_vr(op.rt4, merge(sext<u8[16]>((c & 0x10) == 0), a, b) | x);
|
||||
set_vr(op.rt4, select(bitcast<s8[16]>(cr << 3) >= 0, a, b) | x);
|
||||
}
|
||||
|
||||
void MPYA(spu_opcode_t op)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue