diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-18 17:32:52 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-28 14:44:51 +0200 |
commit | ef7d1adfa8589bb7d6cb06463bf554877e086beb (patch) | |
tree | d8ddec9306143c203edf2a34439bbdb64d5ebca6 /meson_options.txt | |
parent | 87b8bde55dc1700f212b2249b9c150714df67369 (diff) | |
download | qemu-ef7d1adfa8589bb7d6cb06463bf554877e086beb.zip qemu-ef7d1adfa8589bb7d6cb06463bf554877e086beb.tar.gz qemu-ef7d1adfa8589bb7d6cb06463bf554877e086beb.tar.bz2 |
meson: allow configuring the x86-64 baseline
Add a Meson option to configure which x86-64 instruction
set to use. QEMU will now default to x86-64-v1 + cmpxchg16b for
64-bit builds (that corresponds to a Pentium 4 for 32-bit builds).
The baseline can be tuned down to Pentium Pro for 32-bit builds (with
-Dx86_version=0), or up as desired.
Acked-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'meson_options.txt')
-rw-r--r-- | meson_options.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meson_options.txt b/meson_options.txt index 7a79dd8..6065ed2 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -370,3 +370,6 @@ option('qemu_ga_version', type: 'string', value: '', option('hexagon_idef_parser', type : 'boolean', value : true, description: 'use idef-parser to automatically generate TCG code for the Hexagon frontend') + +option('x86_version', type : 'combo', choices : ['0', '1', '2', '3', '4'], value: '1', + description: 'tweak required x86_64 architecture version beyond compiler default') |