On 11 April 2012 22:05, Ramana Radhakrishnan <ramana.radhakrish...@linaro.org> wrote: > On 11 April 2012 17:21, Mans Rullgard <mans.rullg...@linaro.org> wrote: >> On 11 April 2012 16:16, Ulrich Weigand <ulrich.weig...@de.ibm.com> wrote: >>> "Singh, Ravi Kumar (Ravi)" <ravi.si...@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? > > Function attributes aren't really the same as pragmas :)
Use #pragma GCC optimize ("foo") then. It does the same thing if the manual is to be believed. -- Mans Rullgard / mru _______________________________________________ linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain