mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
SPU: Rewrite BGX
This commit is contained in:
parent
e315b39822
commit
feabe71183
2 changed files with 25 additions and 9 deletions
|
@ -6612,7 +6612,7 @@ public:
|
|||
{
|
||||
const auto [a, b] = get_vrs<u32[4]>(op.ra, op.rb);
|
||||
const auto c = get_vr<s32[4]>(op.rt) << 31;
|
||||
set_vr(op.rt, zext<u32[4]>((a <= b) & ~((a == b) & (c >= 0))));
|
||||
set_vr(op.rt, noncast<u32[4]>(sext<s32[4]>(b > a) | (sext<s32[4]>(a == b) & c)) >> 31);
|
||||
}
|
||||
|
||||
void MPYHHA(spu_opcode_t op)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue