]> git.proxmox.com Git - mirror_qemu.git/commit - tcg/tcg-op-gvec.h
tcg: Specify optional vector requirements with a list
authorRichard Henderson <richard.henderson@linaro.org>
Sun, 17 Mar 2019 00:27:29 +0000 (00:27 +0000)
committerRichard Henderson <richard.henderson@linaro.org>
Mon, 13 May 2019 21:44:03 +0000 (14:44 -0700)
commit53229a7703eeb2bbe101a19a33ef22aaf960c65b
tree9537c1a62ddef09de2d814ee03ffeba3fd06ac13
parentce27c5d1a38e93da38653af71fb468c5eded4c7b
tcg: Specify optional vector requirements with a list

Replace the single opcode in .opc with a null-terminated
array in .opt_opc.  We still require that all opcodes be
used with the same .vece.

Validate the contents of this list with CONFIG_DEBUG_TCG.
All tcg_gen_*_vec functions will check any list active
during .fniv expansion.  Swap the active list in and out
as we expand other opcodes, or take control away from the
front-end function.

Convert all existing vector aware front ends.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
target/arm/translate-sve.c
target/arm/translate.c
target/ppc/translate/vmx-impl.inc.c
tcg/tcg-op-gvec.c
tcg/tcg-op-gvec.h
tcg/tcg-op-vec.c
tcg/tcg.h