[libvirt] [PATCH] Add support for SSE4.1 and SSE4.2 CPU features

Eric Blake eblake at redhat.com
Tue May 18 15:46:14 UTC 2010


On 05/18/2010 08:26 AM, Jiri Denemark wrote:
> ---
>  src/cpu/cpu_map.xml |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
> 
> diff --git a/src/cpu/cpu_map.xml b/src/cpu/cpu_map.xml
> index 30c28d7..084b879 100644
> --- a/src/cpu/cpu_map.xml
> +++ b/src/cpu/cpu_map.xml
> @@ -126,6 +126,12 @@
>      <feature name='dca'> <!-- CPUID_EXT_DCA -->
>        <cpuid function='0x00000001' ecx='0x00040000'/>
>      </feature>
> +    <feature name='sse4.1'> <!-- CPUID_EXT_SSE41 -->
> +      <cpuid function='0x00000001' ecx='0x00080000'/>
> +    </feature>
> +    <feature name='sse4.2'> <!-- CPUID_EXT_SSE42 -->
> +      <cpuid function='0x00000001' ecx='0x00100000'/>
> +    </feature>
>      <feature name='x2apic'> <!-- CPUID_EXT_X2APIC -->
>        <cpuid function='0x00000001' ecx='0x00200000'/>
>      </feature>

I had to do a quick google check to validate that these look correct
(http://www.powerbasic.com/support/pbforums/showthread.php?p=342233 was
the first link I found that had some code to confirm my suspicions, but
it isn't the most canonical source).  Adding a URL to your commit
message of an official Intel or AMD site on SSE would clinch it, but
don't let it hold up your commit if you can't quickly find one.

ACK.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100518/28fe57cb/attachment-0001.sig>


More information about the libvir-list mailing list