On Wed, Nov 09, 2011 at 10:33:12AM -0800, Richard Henderson wrote:
> > If the code ensures at runtime that AVX insns (or SSE for that matter)
> > are only used if hardware and OS are capable of executing them, one
> > can deal with this with the equivalent of
> > gcc/testsuite/gcc.target/i386/clearcap.map when linking libitm.so.
>
> Yes, the _M256 entry points will only be used when AVX is used in the
> compiler.
>
> > Besides, we need to make sure that the assembler used is able to
> > assemble SSE and/or AVX insns before using them.
>
> I do worry about building a library version missing symbols though...
Aren't the symbol versions part of the ABI discussed with Intel and others
though?
Jakub