[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/11] tcg/i386: Fix dupi for avx2 32-bit hosts
From: |
Richard Henderson |
Subject: |
[PULL 07/11] tcg/i386: Fix dupi for avx2 32-bit hosts |
Date: |
Thu, 8 Oct 2020 07:56:55 -0500 |
The previous change wrongly stated that 32-bit avx2 should have
used VPBROADCASTW. But that's a 16-bit broadcast and we want a
32-bit broadcast.
Fixes: 7b60ef3264e
Cc: qemu-stable@nongnu.org
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
tcg/i386/tcg-target.c.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tcg/i386/tcg-target.c.inc b/tcg/i386/tcg-target.c.inc
index 2f696074ab..d8797ed398 100644
--- a/tcg/i386/tcg-target.c.inc
+++ b/tcg/i386/tcg-target.c.inc
@@ -958,7 +958,7 @@ static void tcg_out_dupi_vec(TCGContext *s, TCGType type,
new_pool_label(s, arg, R_386_PC32, s->code_ptr - 4, -4);
} else {
if (have_avx2) {
- tcg_out_vex_modrm_pool(s, OPC_VPBROADCASTW + vex_l, ret);
+ tcg_out_vex_modrm_pool(s, OPC_VPBROADCASTD + vex_l, ret);
} else {
tcg_out_vex_modrm_pool(s, OPC_VBROADCASTSS, ret);
}
--
2.25.1
- [PULL 00/11] tcg patch queue, Richard Henderson, 2020/10/08
- [PULL 01/11] tcg: Adjust simd_desc size encoding, Richard Henderson, 2020/10/08
- [PULL 02/11] tcg: Drop union from TCGArgConstraint, Richard Henderson, 2020/10/08
- [PULL 03/11] tcg: Move sorted_args into TCGArgConstraint.sort_index, Richard Henderson, 2020/10/08
- [PULL 04/11] tcg: Remove TCG_CT_REG, Richard Henderson, 2020/10/08
- [PULL 05/11] tcg: Move some TCG_CT_* bits to TCGArgConstraint bitfields, Richard Henderson, 2020/10/08
- [PULL 06/11] tcg: Remove TCGOpDef.used, Richard Henderson, 2020/10/08
- [PULL 08/11] tcg: Fix generation of dupi_vec for 32-bit host, Richard Henderson, 2020/10/08
- [PULL 07/11] tcg/i386: Fix dupi for avx2 32-bit hosts,
Richard Henderson <=
- [PULL 09/11] tcg/optimize: Fold dup2_vec, Richard Henderson, 2020/10/08
- [PULL 11/11] accel/tcg: Fix computing of is_write for MIPS, Richard Henderson, 2020/10/08
- [PULL 10/11] tcg: Remove TCG_TARGET_HAS_cmp_vec, Richard Henderson, 2020/10/08
- Re: [PULL 00/11] tcg patch queue, no-reply, 2020/10/08
- Re: [PULL 00/11] tcg patch queue, Peter Maydell, 2020/10/08