[vlc-devel] [PATCH] Detect AVX-enabled processors
Jean-Baptiste Kempf
jb at videolan.org
Fri Dec 9 17:37:53 CET 2011
On Fri, Dec 09, 2011 at 06:18:58PM +0200, Rémi Denis-Courmont wrote :
> That actualy makes sense. If the OS does not know the registers, it cannot
> save and restore them during context switch. But then we only need to test
> MMX, SSE1 and AVX, not _everything_.
Yes, this is exactly my understanding: we need to test MMX, XMM and YMM
registers but not anything else.
> Also then:
> - there is a problem on Windows (no tests at all),
Win XP SP2 supports MMX and SSE, so no issue here.
AVX is a different beast, and Only Win7/Win8 supports it.
> - parsing /proc/cpuinfo is safer than fork+SIGILL.
No opinion.
Best regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
More information about the vlc-devel
mailing list