Skip to content

Commit

Permalink
target/arm: WKDM: Use cpu_reg_sp for reg operands
Browse files Browse the repository at this point in the history
  • Loading branch information
TrungNguyen1909 committed Sep 4, 2022
1 parent 5be43a3 commit 0f29c93
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target/arm/translate-a64.c
Original file line number Diff line number Diff line change
Expand Up @@ -14595,11 +14595,11 @@ static void disas_apple_insn(DisasContext *s, uint32_t insn)

switch (opcode) {
case 2: /* WKdmC */
tcg_rd = cpu_reg(s, rd);
tcg_rd = cpu_reg_sp(s, rd);
gen_helper_wkdmc(tcg_rd, cpu_env, tcg_rd, cpu_reg_sp(s, rn));
break;
case 3: /* WKdmD */
tcg_rd = cpu_reg(s, rd);
tcg_rd = cpu_reg_sp(s, rd);
gen_helper_wkdmd(tcg_rd, cpu_env, tcg_rd, cpu_reg_sp(s, rn));
break;
case 5:
Expand Down

0 comments on commit 0f29c93

Please sign in to comment.