On 3/12/25 20:44, Richard Henderson wrote:
These expand inline to the *_mmu api with trivial
massaging of the arguments.


I hope they feel relaxed after that :).

Signed-off-by: Richard Henderson <richard.hender...@linaro.org>
---
  include/exec/cpu_ldst.h     | 163 ++++++++++++++++++++++++++++--------
  accel/tcg/ldst_common.c.inc | 118 --------------------------
  2 files changed, 129 insertions(+), 152 deletions(-)


<snip>

+
+static inline int
+cpu_ldsw_be_mmuidx_ra(CPUArchState *env, abi_ptr addr,
+                      int mmu_idx, uintptr_t ra)
+{
+    return (int16_t)cpu_lduw_be_mmuidx_ra(env, addr, mmu_idx, ra);

For my personal culture, is that strictly equivalent to doing the load with MO_BESW?

Reviewed-by: Pierrick Bouvier <pierrick.bouv...@linaro.org>


Reply via email to