aboutsummaryrefslogtreecommitdiff
path: root/hw/misc/mst_fpga.c
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-08-25 08:00:20 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-10-27 17:11:22 -0700
commit67f84c962166093f26a1f2c66034a44cf294e809 (patch)
tree8a8889a3623728a7d689612f107d75dedc0a6571 /hw/misc/mst_fpga.c
parente8679955ec0791122a6c22d48ae760a215204f6a (diff)
downloadqemu-67f84c962166093f26a1f2c66034a44cf294e809.zip
qemu-67f84c962166093f26a1f2c66034a44cf294e809.tar.gz
qemu-67f84c962166093f26a1f2c66034a44cf294e809.tar.bz2
tcg/optimize: Add type to OptContext
Compute the type of the operation early. There are at least 4 places that used a def->flags ladder to determine the type of the operation being optimized. There were two places that assumed !TCG_OPF_64BIT means TCG_TYPE_I32, and so could potentially compute incorrect results for vector operations. Reviewed-by: Luis Pires <luis.pires@eldorado.org.br> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'hw/misc/mst_fpga.c')
0 files changed, 0 insertions, 0 deletions