aboutsummaryrefslogtreecommitdiff
path: root/accel
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-07-26 08:10:23 -1000
committerRichard Henderson <richard.henderson@linaro.org>2021-07-30 08:23:12 -1000
commit7039e1f60486662d238ea1a16992a3efe80d7840 (patch)
tree1ced12c0d3e04bdaba54a8d9478b1728cb5af198 /accel
parentdbdc621be937d9efe3e4dff994e54e8eea051f7a (diff)
accel/tcg: Remove double bswap for helper_atomic_sto_*_mmu
This crept in as either a cut-and-paste error, or rebase error. Fixes: cfec388518d ("atomic_template: add inline trace/plugin helpers") Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20210729004647.282017-24-richard.henderson@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'accel')
-rw-r--r--accel/tcg/atomic_template.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/accel/tcg/atomic_template.h b/accel/tcg/atomic_template.h
index d89af4cc1e..8098a1be31 100644
--- a/accel/tcg/atomic_template.h
+++ b/accel/tcg/atomic_template.h
@@ -252,7 +252,6 @@ void ATOMIC_NAME(st)(CPUArchState *env, target_ulong addr, ABI_TYPE val,
uint16_t info = atomic_trace_st_pre(env, addr, oi);
val = BSWAP(val);
- val = BSWAP(val);
atomic16_set(haddr, val);
ATOMIC_MMU_CLEANUP;
atomic_trace_st_post(env, addr, info);