Selectively disable vectorization
Ulrich Weigand
Ulrich.Weigand at de.ibm.com
Wed Apr 11 23:55:15 UTC 2012
Mans Rullgard <mans.rullgard at linaro.org> wrote on 11.04.2012 18:21:46:
> On 11 April 2012 16:16, Ulrich Weigand <Ulrich.Weigand at de.ibm.com> wrote:
> > "Singh, Ravi Kumar (Ravi)" <Ravi.Singh at lsi.com> wrote:
> >
> >> Are there any pragmas for selectively disabling (in one chunk of
> >> code) the vectorization, when its enabled globally.
> >
> > No, there are not (just like for all optimization settings).
>
> Are you saying __attribute__((optimise("foo"))) is a lie?
No, you're of course correct. __attribute__((optimize)) is
supposed to work, as is #pragma GCC optimize.
[ The reason I said otherwise was that I erroneously thought
this attribute required back-end support which we don't have
on ARM yet. I guess I mixed this up with __attribute__((target)),
which indeed is not supported on ARM. ]
Sorry for causing extra confusion.
Mit freundlichen Gruessen / Best Regards
Ulrich Weigand
--
Dr. Ulrich Weigand | Phone: +49-7031/16-3727
STSM, GNU compiler and toolchain for Linux on System z and Cell/B.E.
IBM Deutschland Research & Development GmbH
Vorsitzende des Aufsichtsrats: Martina Koederitz | Geschäftsführung: Dirk
Wittkopp
Sitz der Gesellschaft: Böblingen | Registergericht: Amtsgericht
Stuttgart, HRB 243294
More information about the linaro-toolchain
mailing list