This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [libitm] Configure for gas cfi pseudos


On Wed, 2011-11-09 at 19:50 +0100, Jakub Jelinek wrote:
> 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?

This ABI is explicitly for x86 on Linux (we've ignored the Windows
version of it so far). We thus can define it differently (or just offer
a subset of the symbols) on other architectures/platforms.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]