On 11/09/2011 11:03 AM, Jakub Jelinek wrote: > On Wed, Nov 09, 2011 at 10:55:53AM -0800, Richard Henderson wrote: >> On 11/09/2011 10:50 AM, Jakub Jelinek wrote: >>> Aren't the symbol versions part of the ABI discussed with Intel and others >>> though? >> >> Ug. Probably. Though they never actually responded wrt the symbol versions >> when we talked; none of the guys on the conference call undersood that bit >> about how ELF works. >> >> Other options for building a library with missing symbols? > > What exactly are AVX instructions needed for? > > Is it just that the entry points get their arguments in %ymm0/%ymm1 etc. > and/or return results in %ymm0?
Yes. > If so, the poor man's/not very capable > target hack could be to have assembly wrappers for those that would > just vextractf128 the high parts either into some other %xmm registers, > or into memory (using .byte ...) and then call some less optimized C > version of those. Ug. I'm not keen on .byte, but I suppose it's not the worst possibility. I'll think about that. r~