Skip to content

Commit

Permalink
Merge pull request #261 from flaviojs/fix-register-signedness-stable-…
Browse files Browse the repository at this point in the history
…ppc32_exec_DIVW

Fix the register signedness in the stable version of ppc32_exec_DIVW.
  • Loading branch information
grossmj authored Oct 6, 2024
2 parents 2a51a8a + 8697d11 commit 119d171
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stable/ppc32_exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1369,7 +1369,7 @@ static fastcall int ppc32_exec_DIVW(cpu_ppc_t *cpu,ppc_insn_t insn)
int rd = bits(insn,21,25);
int ra = bits(insn,16,20);
int rb = bits(insn,11,15);
register m_uint32_t a,b;
register m_int32_t a,b;

a = (m_int32_t)cpu->gpr[ra];
b = (m_int32_t)cpu->gpr[rb];
Expand Down

0 comments on commit 119d171

Please sign in to comment.