This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 2/4] HSA specific built-ins
On Sun, Nov 13, 2016 at 08:39:35PM +0100, Martin Jambor wrote:
> Hello,
>
> this patch adds a small file hsa-builtins.def which defines a few
> builtins that I then use in OpenMP lowering and expansion.
>
> After we split gridification stuff in omp-low.c to a separate file, we
> should be able to only conditionally include the file and remove the
> weird conditional ifdef.
>
> OK for trunk?
Does this work well even with lto and jit FEs? Ok for trunk if it does.
> 2016-11-11 Martin Jambor <mjambor@suse.cz>
>
> gcc/
> * hsa-builtins.def: New file.
> * Makefile.in (BUILTINS_DEF): Add hsa-builtins.def dependency.
> * builtins.def: Include hsa-builtins.def.
> (DEF_HSA_BUILTIN): New macro.
>
> fortran/
> * f95-lang.c (DEF_HSA_BUILTIN): New macro.
Jakub