[gomp4 simd, RFC] Simple fix to override vectorization cost estimation.

Tobias Burnus burnus@net-b.de
Wed Nov 27 11:16:00 GMT 2013


Am 27.11.2013 08:22, schrieb Sergey Ostanevich:
> Done.
>

Thanks for fixing Richard's and Jakub's comments and parts of mine.

> +have the same meaning as described in @option{fvect-cost-model} and by
> +default a cost model defined with @option{fvect-cost-model} is used.
As mentioned before, pleae add a hyphen before fvect (i.e. 
"@option{fvect-cost-model}"  -> "@option{-fvect-cost-model}")

Regarding a test case: I still think it would be useful to have one, but I somehow seemed to have messed up with my previous one - I fail to get it not to vectorize with "omp simd" due to cost reasons. Thus, I don't have one.

Tobias

-------------- next part --------------
A non-text attachment was scrubbed...
Name: costmodel-vect-simd-1.c
Type: text/x-csrc
Size: 1099 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131127/23561d8b/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: costmodel-vect-simd-2.c
Type: text/x-csrc
Size: 1056 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20131127/23561d8b/attachment-0001.bin>


More information about the Gcc-patches mailing list