[PATCH] meson: fix machine option for x86_version

Pierrick Bouvier posted 1 patch 1 month, 2 weeks ago
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] meson: fix machine option for x86_version
Posted by Pierrick Bouvier 1 month, 2 weeks ago
s/mbmi1/mbmi/

When configuring with -Dx86_version >= 3, meson step works, but
compilation fails because option -mbmi1 is unknown.

Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
---
 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meson.build b/meson.build
index af2ce595dcc..ebd914628c8 100644
--- a/meson.build
+++ b/meson.build
@@ -362,7 +362,7 @@ if host_arch in ['i386', 'x86_64']
     qemu_common_flags = cc.get_supported_arguments('-mneeded') + qemu_common_flags
   endif
   if get_option('x86_version') >= '3'
-    qemu_common_flags = ['-mmovbe', '-mabm', '-mbmi1', '-mbmi2', '-mfma', '-mf16c'] + qemu_common_flags
+    qemu_common_flags = ['-mmovbe', '-mabm', '-mbmi', '-mbmi2', '-mfma', '-mf16c'] + qemu_common_flags
   endif
 
   # add required vector instruction set (each level implies those below)
-- 
2.39.5
Re: [PATCH] meson: fix machine option for x86_version
Posted by Paolo Bonzini 1 month, 2 weeks ago
Queued, thanks.

Paolo
Re: [PATCH] meson: fix machine option for x86_version
Posted by Michael Tokarev 1 month, 2 weeks ago
05.10.2024 01:37, Pierrick Bouvier пишет:
> s/mbmi1/mbmi/
> 
> When configuring with -Dx86_version >= 3, meson step works, but
> compilation fails because option -mbmi1 is unknown.

Fixes: v9.0.0-1771-gef7d1adfa8 "meson: allow configuring the x86-64 baseline"
Revieved-by: Michael Tokarev <mjt@tls.msk.ru>

Thanks,

/mjt

Re: [PATCH] meson: fix machine option for x86_version
Posted by Michael Tokarev 1 month, 2 weeks ago
05.10.2024 19:08, Michael Tokarev wrote:
> 05.10.2024 01:37, Pierrick Bouvier wrote:
>> s/mbmi1/mbmi/
>>
>> When configuring with -Dx86_version >= 3, meson step works, but
>> compilation fails because option -mbmi1 is unknown.
> 
> Fixes: v9.0.0-1771-gef7d1adfa8 "meson: allow configuring the x86-64 baseline"
> Revieved-by: Michael Tokarev <mjt@tls.msk.ru>

Also marked this one for qemu-stable.

/mjt
Re: [PATCH] meson: fix machine option for x86_version
Posted by Alex Bennée 1 month, 2 weeks ago
Pierrick Bouvier <pierrick.bouvier@linaro.org> writes:

> s/mbmi1/mbmi/
>
> When configuring with -Dx86_version >= 3, meson step works, but
> compilation fails because option -mbmi1 is unknown.
>
> Signed-off-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Tested-by: Alex Bennée <alex.bennee@linaro.org>

-- 
Alex Bennée
Virtualisation Tech Lead @ Linaro