On Wed, Nov 14, 2018 at 03:09:49PM +0100, Martin Liška wrote: > > So omp-simd-notinbranch or omp_simd_notinbranch? > > Any particular reason for this weird syntax and for not also > > supporting inbranch or just simd? > > Questionable whether to support as current glibc vector ABI only uses > notinbranch?
simd attribute supports all those three cases, i.e. __attribute__((simd)), __attribute__((simd ("notinbranch"))) and __attribute__((simd ("inbranch"))). So at least for consistency it would be nice to support the same thing. Some users could e.g. provide a vectorized definition for other builtins and have e.g. inbranch support there only (the vectorizer can use those by providing all ones masks). Jakub