https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80859

--- Comment #5 from Thorsten Kurth <thorstenkurth at me dot com> ---
To clarify the problem:
I think that the additional movq, pushq and other instructions generated when
using the target directive can cause a big hit on the performance. I understand
that these instructions are necessary when offloading is used but in case when
I compile for native architecture those should not be there. So maybe I am just
missing a GNU compiler flag which disables offloading and lets the compiler
ignore the target, teams and distribute directives at compile time but still
honoring all the other OpenMP constructs. 
Is there a way to do that right now and if not, is there a way to add that flag
that supports this.

Reply via email to