This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Vectorizing Compiler

Note: This was originally posted on 29th June 2010 at http://forums.arm.com

Hi,

Please see the following tool chain

CPP=arm-none-linux-gnueabi-gcc
SWS=-march=armv7-a -mtune=cortex-a8 -mfpu=neon -mfloat-abi=softfp -flax-vector-conversions
Target is beegle board

How can i disable the vectorization.
If i give the above tool chain, it will create a default vectorized code for the given C source
if i write the NEON C intrinsics then will the compiler overrides its optimization and use the programmer neon direction.

Please help me to solve the doubts
Parents
  • Note: This was originally posted on 30th June 2010 at http://forums.arm.com

    How can i disable the vectorization.


    I can't tell what version of gcc you are using from the information above (gcc --version), but in recent versions, using '-O3' implies '-ftree-vectorize'.  Are you using '-O3'?

    If you want to disable vectorization then you probably want to use '-fno-tree-vectorize'.

    I'm curious:  why do you want to disable vectorization?
Reply
  • Note: This was originally posted on 30th June 2010 at http://forums.arm.com

    How can i disable the vectorization.


    I can't tell what version of gcc you are using from the information above (gcc --version), but in recent versions, using '-O3' implies '-ftree-vectorize'.  Are you using '-O3'?

    If you want to disable vectorization then you probably want to use '-fno-tree-vectorize'.

    I'm curious:  why do you want to disable vectorization?
Children
No data