Message ID | 20241004223715.1275428-1-pierrick.bouvier@linaro.org |
---|---|
State | Superseded |
Headers | show |
Series | meson: fix machine option for x86_version | expand |
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>
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
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
Queued, thanks. Paolo
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)
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(-)