Skip to content

Commit

Permalink
JitArm64: Introduce MultiplyImmediate
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Sintendo committed Nov 1, 2022
1 parent 5488d3b commit 4aa0c01
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions Source/Core/Core/PowerPC/JitArm64/Jit.h
Expand Up @@ -332,6 +332,7 @@ class JitArm64 : public JitBase, public Arm64Gen::ARM64CodeBlock, public CommonA
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);
Expand Down
5 changes: 5 additions & 0 deletions Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp
Expand Up @@ -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
Expand Down

0 comments on commit 4aa0c01

Please sign in to comment.