Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
tcg/sparc64: Use standard slow path for softmmu
Drop the target-specific trampolines for the standard slow path.
This lets us use tcg_out_helper_{ld,st}_args, and handles the new
atomicity bits within MemOp.

At the same time, use the full load/store helpers for user-only mode.
Drop inline unaligned access support for user-only mode, as it does
not handle atomicity.

Use TCG_REG_T[1-3] in the tlb lookup, instead of TCG_REG_O[0-2].
This allows the constraints to be simplified.

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
  • Loading branch information
rth7680 committed May 16, 2023
1 parent 1a42d9d commit 2908650
Show file tree
Hide file tree
Showing 4 changed files with 179 additions and 429 deletions.
2 changes: 0 additions & 2 deletions tcg/sparc64/tcg-target-con-set.h
Expand Up @@ -12,8 +12,6 @@
C_O0_I1(r)
C_O0_I2(rZ, r)
C_O0_I2(rZ, rJ)
C_O0_I2(sZ, s)
C_O1_I1(r, s)
C_O1_I1(r, r)
C_O1_I2(r, r, r)
C_O1_I2(r, rZ, rJ)
Expand Down
1 change: 0 additions & 1 deletion tcg/sparc64/tcg-target-con-str.h
Expand Up @@ -9,7 +9,6 @@
* REGS(letter, register_mask)
*/
REGS('r', ALL_GENERAL_REGS)
REGS('s', ALL_QLDST_REGS)

/*
* Define constraint letters for constants:
Expand Down

0 comments on commit 2908650

Please sign in to comment.