Re: [C, C++, OpenMP] Add support for -fopenmp-simd

2013-11-04 Thread Jakub Jelinek
On Mon, Nov 04, 2013 at 11:56:38PM +0100, Tobias Burnus wrote: > gcc/ > * doc/invoke.texi (-fopenmp-simd): Document new option. > * gimplify.c (gimplify_body): Accept -fopenmp-simd. > * omp-low.c (execute_expand_omp, execute_lower_omp): Ditto. > * tree.c (attribute_value_equ

Re: [C, C++, OpenMP] Add support for -fopenmp-simd

2013-11-04 Thread Tobias Burnus
Am 31.10.2013 17:40, schrieb Jakub Jelinek: On Sun, Oct 27, 2013 at 10:45:57PM +0100, Tobias Burnus wrote: The code is written such that when "-fopenmp" is used, -f(no-)openmp-simd has no effect. The following "simd" pragmas are listed in OpenMP 4.0 - and will all get translated into "#pragma om

Re: [C, C++, OpenMP] Add support for -fopenmp-simd

2013-10-31 Thread Jakub Jelinek
On Sun, Oct 27, 2013 at 10:45:57PM +0100, Tobias Burnus wrote: > The code is written such that when "-fopenmp" is used, > -f(no-)openmp-simd has no effect. The following "simd" pragmas are > listed in OpenMP 4.0 - and will all get translated into "#pragma omp > simd", only, with -fopenmp-simd: > #p

[C, C++, OpenMP] Add support for -fopenmp-simd

2013-10-27 Thread Tobias Burnus
This patch add the new option "-fopenmp-simd", which allows to use OpenMP 4.0's "simd" pragmas without enabling OpenMP's threading or target features - and, thus, it also doesn't require linking of libgomp. The purpose is to permit a fine-tuning of vectorization without adding the additional l