This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: [PATCH 1/N] x86_64 vectorization support: vectorized math functions addition to Glibc


On Wed, 12 Nov 2014, Jakub Jelinek wrote:

> Processor clause is parsed for Cilk+.  OpenMP doesn't have anything like
> that, and I'm not sure it would be appropriate for the standard, because
> the standard is not specific to a single CPU architecture and all parties
> would need to agree on the names.  You actually don't care about the
> processors anyway, but about the vector ISA.

An alternative to having a processor clause now would be having an ABI/API 
document for OpenMP on x86_64 - agreed between implementations - that 
specifies what vector versions of a function the standard pragma means are 
available, and specifies that implementations must not generate calls to 
versions not listed unless some non-standard pragma is used to declare 
those other versions to be available (which would put off defining such a 
non-standard pragma until there is a desire to have vector versions for 
newer ISAs).

-- 
Joseph S. Myers
joseph@codesourcery.com


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