[PATCH] tests/tcg/i386: compile test-i386-blendv.c with -msse4.1

Paolo Bonzini posted 1 patch 3 days, 15 hours ago
tests/tcg/i386/meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] tests/tcg/i386: compile test-i386-blendv.c with -msse4.1
Posted by Paolo Bonzini 3 days, 15 hours ago
Otherwise, the test case fails to build for a 32-bit target.

Reported-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
---
 tests/tcg/i386/meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/tcg/i386/meson.build b/tests/tcg/i386/meson.build
index d2ba8410413..02ac2bbd6cd 100644
--- a/tests/tcg/i386/meson.build
+++ b/tests/tcg/i386/meson.build
@@ -10,7 +10,7 @@ tests += {
   },
   'test-aes.c': {'cflags': ['-O1', '-msse2', '-maes']},
   'test-i386-adcox.c': {'cflags': ['-O2']},
-  'test-i386-blendv.c': {},
+  'test-i386-blendv.c': {'cflags': ['-msse4.1']},
   'test-i386-bmi2.c': {'cflags': ['-O2', '-fwrapv']},
   'test-i386-f2xm1.c': {},
   'test-i386-fbstp.c': {},
-- 
2.56.0
Re: [PATCH] tests/tcg/i386: compile test-i386-blendv.c with -msse4.1
Posted by Richard Henderson 3 days, 3 hours ago
On 11/19/26 05:07, Paolo Bonzini wrote:
> Otherwise, the test case fails to build for a 32-bit target.
> 
> Reported-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>   tests/tcg/i386/meson.build | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/tcg/i386/meson.build b/tests/tcg/i386/meson.build
> index d2ba8410413..02ac2bbd6cd 100644
> --- a/tests/tcg/i386/meson.build
> +++ b/tests/tcg/i386/meson.build
> @@ -10,7 +10,7 @@ tests += {
>     },
>     'test-aes.c': {'cflags': ['-O1', '-msse2', '-maes']},
>     'test-i386-adcox.c': {'cflags': ['-O2']},
> -  'test-i386-blendv.c': {},
> +  'test-i386-blendv.c': {'cflags': ['-msse4.1']},
>     'test-i386-bmi2.c': {'cflags': ['-O2', '-fwrapv']},
>     'test-i386-f2xm1.c': {},
>     'test-i386-fbstp.c': {},

Applied directly to master.


r~
Re: [PATCH] tests/tcg/i386: compile test-i386-blendv.c with -msse4.1
Posted by Richard Henderson 3 days, 9 hours ago
On 11/19/26 05:07, Paolo Bonzini wrote:
> Otherwise, the test case fails to build for a 32-bit target.
> 
> Reported-by: Peter Maydell<peter.maydell@linaro.org>
> Signed-off-by: Paolo Bonzini<pbonzini@redhat.com>
> ---
>   tests/tcg/i386/meson.build | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>

r~
Re: [PATCH] tests/tcg/i386: compile test-i386-blendv.c with -msse4.1
Posted by Peter Maydell 3 days, 14 hours ago
On Thu, 19 Nov 2026 at 13:07, Paolo Bonzini <pbonzini@redhat.com> wrote:
>
> Otherwise, the test case fails to build for a 32-bit target.
>
> Reported-by: Peter Maydell <peter.maydell@linaro.org>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
>  tests/tcg/i386/meson.build | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tests/tcg/i386/meson.build b/tests/tcg/i386/meson.build
> index d2ba8410413..02ac2bbd6cd 100644
> --- a/tests/tcg/i386/meson.build
> +++ b/tests/tcg/i386/meson.build
> @@ -10,7 +10,7 @@ tests += {
>    },
>    'test-aes.c': {'cflags': ['-O1', '-msse2', '-maes']},
>    'test-i386-adcox.c': {'cflags': ['-O2']},
> -  'test-i386-blendv.c': {},
> +  'test-i386-blendv.c': {'cflags': ['-msse4.1']},
>    'test-i386-bmi2.c': {'cflags': ['-O2', '-fwrapv']},
>    'test-i386-f2xm1.c': {},
>    'test-i386-fbstp.c': {},
> --

Fixes: 0f9a4145bf55 ("target/i386/tcg: reject VEX encodings of
PBLENDVB, BLENDVPS and BLENDVPD")

Reviewed-by: Peter Maydell <peter.maydell@linaro.org>

thanks
-- PMM