[pve-devel] [PATCH v4 qemu-server 1/1] cpuconfig: add new x86-64-vX models

DERUMIER, Alexandre alexandre.derumier at groupe-cyllene.com
Wed Jun 7 17:29:44 CEST 2023


> 
> > But couldn't find from which models onward xsave is supported from
> > a
> > quick search.
> > 
> you could find it here:
> https://github.com/qemu/qemu/blob/master/target/i386/cpu.c
> 
> CPUID_EXT_XSAVE
> 
> > = intel sandybridge
> 
> > = amd Opteron_G4
> 
> 
> so for -v3 & -v4  models, it's not a problem.
> 
> 
> 
> 
more references in gcc

i386: Add support for x86-64-v2, x86-64-v3, x86-64-v4 levels for x86-64
https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=324bec558e95584e8c1997575ae9d75978af59f1

with flags for

v2:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=324bec558e95584e8c1997575ae9d75978af59f1#patch5

v3:
https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=324bec558e95584e8c1997575ae9d75978af59f1#patch8

v4:

https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=324bec558e95584e8c1997575ae9d75978af59f1#patch9


also the list of supported extensions by cpumodel is available here:

https://gcc.gnu.org/onlinedocs/gcc/x86-Options.html




More information about the pve-devel mailing list