qemu/accel/tcg
Richard Henderson 6d3ef04893 tcg: Use memset for large vector byte replication
In f47db80cc0, we handled odd-sized tail clearing for
the case of hosts that have vector operations, but did
not handle the case of hosts that do not have vector ops.

This was ok until e2e7168a21, which changed the encoding
of simd_desc such that the odd sizes are impossible.

Add memset as a tcg helper, and use that for all out-of-line
byte stores to vectors.  This includes, but is not limited to,
the tail clearing operation in question.

Cc: qemu-stable@nongnu.org
Buglink: https://bugs.launchpad.net/bugs/1907817
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
2021-01-04 06:32:58 -10:00
..
atomic_common.c.inc meson: rename included C source files to .c.inc 2020-08-21 06:18:30 -04:00
atomic_template.h qemu/atomic.h: rename atomic_ to qatomic_ 2020-09-23 16:07:44 +01:00
cpu-exec-common.c qemu-common: Move tcg_enabled() etc. to sysemu/tcg.h 2019-06-11 20:22:09 +02:00
cpu-exec.c tcg: Make CPUClass.debug_excp_handler optional 2020-12-16 15:50:33 -05:00
cputlb.c accel/tcg: Add tlb_flush_page_bits_by_mmuidx* 2020-10-20 16:12:00 +01:00
meson.build accel/tcg: split CpusAccel into three TCG variants 2020-12-10 17:44:10 -06:00
plugin-gen.c plugin-gen: add module for TCG-related code 2019-10-28 15:12:38 +00:00
plugin-helpers.h plugin-gen: add module for TCG-related code 2019-10-28 15:12:38 +00:00
tcg-all.c accel/tcg: split tcg_start_vcpu_thread 2020-12-10 17:44:10 -06:00
tcg-cpus-icount.c accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus-icount.h accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus-mttcg.c accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus-rr.c accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus-rr.h accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus.c accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-cpus.h accel/tcg: rename tcg-cpus functions to match module name 2020-12-10 17:44:10 -06:00
tcg-runtime-gvec.c tcg: Implement gvec support for rotate by vector 2020-06-02 08:42:37 -07:00
tcg-runtime.c tcg: Search includes from the project root source directory 2020-01-15 15:13:10 -10:00
tcg-runtime.h tcg: Use memset for large vector byte replication 2021-01-04 06:32:58 -10:00
trace-events accel/tcg: don't disable exec_tb trace events 2020-05-15 15:25:16 +01:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00
translate-all.c accel/tcg: Remove deprecated '-tb-size' option 2020-12-15 12:52:01 -05:00
translate-all.h cputlb: Pass retaddr to tb_check_watchpoint 2019-09-25 10:56:28 -07:00
translator.c gdbstub: add reverse step support in replay mode 2020-10-06 08:34:49 +02:00
user-exec-stub.c spapr: Unrealize vCPUs with qdev_unrealize() 2020-10-28 01:08:53 +11:00
user-exec.c accel/tcg/user-exec: silence the compiler warnings 2020-12-18 09:14:23 +01:00