mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 10:48:36 +12:00
ror64 added
This commit is contained in:
parent
74d47943e9
commit
3baf79f929
5 changed files with 21 additions and 12 deletions
|
@ -478,7 +478,7 @@ void spu_recompiler::ROT(spu_opcode_t op)
|
|||
{
|
||||
for (u32 i = 0; i < 4; i++)
|
||||
{
|
||||
t[i] = (a[i] << b[i]) | (a[i] >> (32 - b[i]));
|
||||
t[i] = rol32(a[i], b[i]);
|
||||
}
|
||||
};
|
||||
|
||||
|
@ -588,7 +588,7 @@ void spu_recompiler::ROTH(spu_opcode_t op) //nf
|
|||
{
|
||||
for (u32 i = 0; i < 8; i++)
|
||||
{
|
||||
t[i] = (a[i] << b[i]) | (a[i] >> (16 - b[i]));
|
||||
t[i] = rol16(a[i], b[i]);
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue