mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07:00
Merge pull request #9588 from JosJuice/jitarm64-srawx-a-s
JitArm64: Improve srawx special case carry calculation
This commit is contained in:
@@ -1401,13 +1401,14 @@ void JitArm64::srawx(UGeckoInstruction inst)
|
||||
{
|
||||
gpr.BindToRegister(a, a == s);
|
||||
|
||||
ASR(gpr.R(a), gpr.R(s), 31);
|
||||
|
||||
if (js.op->wantsCA)
|
||||
{
|
||||
// Set the carry flag to the sign bit of s
|
||||
CMN(gpr.R(s), gpr.R(s));
|
||||
ComputeCarry();
|
||||
}
|
||||
|
||||
ASR(gpr.R(a), gpr.R(s), 31);
|
||||
}
|
||||
else if (amount == 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user