unicorn/qemu/accel/tcg
Richard Henderson 72d8af5282 tcg: Remove CONFIG_VECTOR16
The comment in tcg-runtime-gvec.c about CONFIG_VECTOR16 says that
tcg-op-gvec.c has eliminated size 8 vectors, and only passes on
multiples of 16. This may have been true of the first few operations,
but is not true of all operations.

In particular, multiply, shift by scalar, and compare of 8- and 16-bit
elements are not expanded inline if host vector operations are not
supported.

For an x86_64 host that does not support AVX, this means that we will
fall back to the helper, which will attempt to use SSE instructions,
which will SEGV on an invalid 8-byte aligned memory operation.

This patch simply removes the CONFIG_VECTOR16 code and configuration
without further simplification.

Buglink: https://bugs.launchpad.net/bugs/1863508

Backports commit 43d1ccd2a02fadf3c36b46a8c31125a28864d141 from qemu
2020-04-30 06:28:46 -04:00
..
atomic_template.h atomic_template: fix indentation in GEN_ATOMIC_HELPER 2019-11-28 02:38:07 -05:00
cpu-exec-common.c tcg: Fix LGPL version number 2019-02-03 17:55:28 -05:00
cpu-exec.c Ensure that PC is not fixed up when code tracing or timing. (#1179) 2020-01-14 09:52:25 -05:00
cputlb.c accel/tcg: allow to invalidate a write TLB entry immediately 2020-01-14 07:14:10 -05:00
Makefile.objs tcg: move tcg backend files into accel/tcg/ 2018-03-13 11:48:15 -04:00
tcg-runtime-gvec.c tcg: Remove CONFIG_VECTOR16 2020-04-30 06:28:46 -04:00
tcg-runtime.c cpu: Replace ENV_GET_CPU with env_cpu 2019-06-12 11:16:16 -04:00
tcg-runtime.h tcg: Add support for vector bitwise select 2019-05-24 18:15:10 -04:00
translate-all.c Fix the error in the hook_code of the arm 2020-01-14 09:29:37 -05:00
translate-all.h tcg: Synchronize with qemu 2019-04-26 09:32:20 -04:00
translate-common.c tcg: Fix LGPL version number 2019-02-03 17:55:28 -05:00
translator.c tcg: Hoist max_insns computation to tb_gen_code 2019-04-30 09:49:57 -04:00