[gomp4] Some progress on #pragma omp simd
Richard Henderson
rth@redhat.com
Wed Jun 12 17:21:00 GMT 2013
On 04/27/2013 11:17 AM, Jakub Jelinek wrote:
> where simd_uid would be some say integer constant, unique to the simd loop
> (at least unique within the same function, and perhaps inlining/LTO would
> need to remap).
If all we need is uniqueness, then perhaps an otherwise unused decl would do?
We're already prepared to remap those during inlining/LTO...
> treat arrays indexed by __builtin_omp.simd_lane (simd_uid) (dot in the name just
> to make it impossible to be used by users) (or marked with some special
> hidden attribute or something)
I see
/* This file specifies a list of internal "functions". These functions
differ from built-in functions in that they have no linkage and cannot
be called directly by the user. They represent operations that are only
synthesised by GCC itself.
and think that may be more applicable than adding dots to regular builtins.
r~
More information about the Gcc-patches
mailing list