qemu/target/arm
Peter Maydell dbcf6f9367 bitops.h: Provide hswap32(), hswap64(), wswap64() swapping operations
Currently the ARM SVE helper code defines locally some utility
functions for swapping 16-bit halfwords within 32-bit or 64-bit
values and for swapping 32-bit words within 64-bit values,
parallel to the byte-swapping bswap16/32/64 functions.

We want these also for the ARM MVE code, and they're potentially
generally useful for other targets, so move them to bitops.h.
(We don't put them in bswap.h with the bswap* functions because
they are implemented in terms of the rotate operations also
defined in bitops.h, and including bitops.h from bswap.h seems
better avoided.)

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-id: 20210614151007.4545-17-peter.maydell@linaro.org
2021-06-16 14:33:52 +01:00
..
a32-uncond.decode
a32.decode
arch_dump.c
arm-powerctl.c
arm-powerctl.h
arm_ldst.h
cpu-param.h
cpu-qom.h
cpu.c
cpu.h
cpu64.c
cpu_tcg.c
crypto_helper.c
debug_helper.c
gdbstub.c
gdbstub64.c
helper-a64.c
helper-a64.h
helper-sve.h
helper.c
helper.h
idau.h
internals.h
iwmmxt_helper.c
kvm-consts.h
kvm-stub.c
kvm.c
kvm64.c
kvm_arm.h
m-nocp.decode
m_helper.c target/arm: Handle VPR semantics in existing code 2021-06-16 14:33:52 +01:00
machine.c
meson.build target/arm: Add framework for MVE decode 2021-06-16 14:33:52 +01:00
monitor.c
mte_helper.c target/arm: Fix mte page crossing test 2021-06-16 14:33:51 +01:00
mve.decode target/arm: Add framework for MVE decode 2021-06-16 14:33:52 +01:00
neon-dp.decode
neon-ls.decode
neon-shared.decode
neon_helper.c
op_addsub.h
op_helper.c
pauth_helper.c
psci.c
sve.decode
sve_helper.c bitops.h: Provide hswap32(), hswap64(), wswap64() swapping operations 2021-06-16 14:33:52 +01:00
syndrome.h
t16.decode
t32.decode target/arm: Implement MVE LETP insn 2021-06-16 14:33:52 +01:00
tlb_helper.c
trace-events
trace.h
translate-a32.h target/arm: Add framework for MVE decode 2021-06-16 14:33:52 +01:00
translate-a64.c target/arm: Diagnose UNALLOCATED in disas_simd_three_reg_same_fp16 2021-06-15 16:18:48 +01:00
translate-a64.h
translate-m-nocp.c target/arm: Add handling for PSR.ECI/ICI 2021-06-16 14:33:52 +01:00
translate-mve.c target/arm: Add framework for MVE decode 2021-06-16 14:33:52 +01:00
translate-neon.c
translate-sve.c
translate-vfp.c target/arm: Let vfp_access_check() handle late NOCP checks 2021-06-16 14:33:52 +01:00
translate.c target/arm: Add framework for MVE decode 2021-06-16 14:33:52 +01:00
translate.h target/arm: Add handling for PSR.ECI/ICI 2021-06-16 14:33:52 +01:00
vec_helper.c target/arm: Move expand_pred_b() data to vec_helper.c 2021-06-16 14:33:52 +01:00
vec_internal.h target/arm: Move expand_pred_b() data to vec_helper.c 2021-06-16 14:33:52 +01:00
vfp-uncond.decode
vfp.decode
vfp_helper.c target/arm: Enable FPSCR.QC bit for MVE 2021-06-16 14:33:52 +01:00