On Tue, Mar 12, 2019 at 11:21:26PM +0000, Steve Ellcey wrote: > I like this idea. I have prototyped something, I created 'vector_asm' > as an aarch64 attribute because I couldn't find where to put global > attributes like __simd__. Does anyone know where these are listed?
gcc/c-family/c-attribs.c Note, vector_asm seems like a bad name when the attribute is simd or directive #pragma omp declare simd, it should be simd_asm instead. If we go this route, glibc headers would need to use it conditional on gcc version though, because older gccs wouldn't support that attribute. Jakub