Re: OMP builtins in offloading

2021-08-04 Thread Thomas Schwinge
Hi! On 2015-01-08T16:41:50+0100, I wrote: > Committed to trunk in r219346: (Git commit 45f46750a3513790573791c0eec6b600b42f2042.) > Make sure that OMP builtins are available in offloading compilers. > --- gcc/builtins.def > +++ gcc/builtins.def > @@ -148,11 +148,14 @@ along with GCC; see th

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2015-02-16 Thread Ilya Verbin
On Thu, Jan 08, 2015 at 16:49:40 +0100, Jakub Jelinek wrote: > BTW, today when looking at the TARGET_OPTION_NODE streaming caused > regressions, I've discovered that it is very hard to debug issues in the > offloading compiler. Would be nice if > -save-temps -v > printed enough information that it

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2015-01-09 Thread Jakub Jelinek
On Fri, Jan 09, 2015 at 11:36:54AM +0100, Richard Biener wrote: > Maybe pass it through if you specify -Wl,-debug -v -save-temps > (that also makes sure to disable collect2s error output buffering > which is annoying with LTO) Works with me too (but should be documented somewhere). Jakub

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2015-01-09 Thread Richard Biener
On Thu, Jan 8, 2015 at 5:39 PM, Jakub Jelinek wrote: > On Thu, Jan 08, 2015 at 07:32:13PM +0300, Ilya Verbin wrote: >> On 08 Jan 16:49, Jakub Jelinek wrote: >> > BTW, today when looking at the TARGET_OPTION_NODE streaming caused >> > regressions, I've discovered that it is very hard to debug issue

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2015-01-08 Thread Jakub Jelinek
On Thu, Jan 08, 2015 at 07:32:13PM +0300, Ilya Verbin wrote: > On 08 Jan 16:49, Jakub Jelinek wrote: > > BTW, today when looking at the TARGET_OPTION_NODE streaming caused > > regressions, I've discovered that it is very hard to debug issues in the > > offloading compiler. Would be nice if > > -sa

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2015-01-08 Thread Ilya Verbin
On 08 Jan 16:49, Jakub Jelinek wrote: > BTW, today when looking at the TARGET_OPTION_NODE streaming caused > regressions, I've discovered that it is very hard to debug issues in the > offloading compiler. Would be nice if > -save-temps -v > printed enough information that it is actually possible t

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2015-01-08 Thread Jakub Jelinek
Hi! On Thu, Jan 08, 2015 at 04:41:50PM +0100, Thomas Schwinge wrote: > On Fri, 26 Dec 2014 16:22:43 +0300, Ilya Verbin wrote: BTW, today when looking at the TARGET_OPTION_NODE streaming caused regressions, I've discovered that it is very hard to debug issues in the offloading compiler. Would be

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2015-01-08 Thread Thomas Schwinge
Hi! On Fri, 26 Dec 2014 16:22:43 +0300, Ilya Verbin wrote: > On 22 Dec 12:26, Jakub Jelinek wrote: > > On Mon, Dec 22, 2014 at 12:20:58PM +0100, Thomas Schwinge wrote: > > > What is the reason that you're adding -fopenmp here? I assume it is that > > > otherwise you'd get tree streaming errors b

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2014-12-26 Thread Ilya Verbin
On 22 Dec 12:26, Jakub Jelinek wrote: > On Mon, Dec 22, 2014 at 12:20:58PM +0100, Thomas Schwinge wrote: > > What is the reason that you're adding -fopenmp here? I assume it is that > > otherwise you'd get tree streaming errors because of different builtins > > configurations, like this? > > > >

Re: OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2014-12-22 Thread Jakub Jelinek
On Mon, Dec 22, 2014 at 12:20:58PM +0100, Thomas Schwinge wrote: > On Wed, 22 Oct 2014 22:57:01 +0400, Ilya Verbin wrote: > > --- /dev/null > > +++ b/gcc/config/i386/intelmic-mkoffload.c > > @@ -0,0 +1,541 @@ > > +/* Offload image generation tool for Intel MIC devices. > > > +static const char *

OMP builtins in offloading (was: [PATCH 1/4] Add mkoffload for Intel MIC)

2014-12-22 Thread Thomas Schwinge
Hi! On Wed, 22 Oct 2014 22:57:01 +0400, Ilya Verbin wrote: > --- /dev/null > +++ b/gcc/config/i386/intelmic-mkoffload.c > @@ -0,0 +1,541 @@ > +/* Offload image generation tool for Intel MIC devices. > +static const char * > +prepare_target_image (const char *target_compiler, int argc, char **arg