JitArm64: Introduce MultiplyImmediate

Add a new function that will handle all the special cases regarding
multiplication. It does nothing for now, but will be expanded in
follow-up commits.
This commit is contained in:
Bram Speeckaert 2022-11-01 19:01:38 +01:00
parent 5488d3b125
commit 4aa0c0133a
2 changed files with 6 additions and 0 deletions

View File

@ -332,6 +332,7 @@ protected:
void (ARM64XEmitter::*op)(Arm64Gen::ARM64Reg, Arm64Gen::ARM64Reg, u64,
Arm64Gen::ARM64Reg),
bool Rc = false);
bool MultiplyImmediate(u32 imm, int a, int d, bool rc);
void SetFPRFIfNeeded(bool single, Arm64Gen::ARM64Reg reg);
void Force25BitPrecision(Arm64Gen::ARM64Reg output, Arm64Gen::ARM64Reg input);

View File

@ -876,6 +876,11 @@ void JitArm64::addic(UGeckoInstruction inst)
}
}
bool JitArm64::MultiplyImmediate(u32 imm, int a, int d, bool rc)
{
return false;
}
void JitArm64::mulli(UGeckoInstruction inst)
{
INSTRUCTION_START