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 12th July 2010 at http://forums.arm.com

    the tool chain  version is given below

    (2007q3-51) 4.2.1

    will i get neon performance by this version of tool chain !


    I expect that if you are using '-O3 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp' that 2007q3-51 will try to vectorize.  You can use objdump to find out how well it is doing.  You should probably consider using 2010q1 as it's 2.5 years newer.

    I have one doubt will my code can enter the cache memory..?

    The OS critical module can use the cache all the time.?


    Your code will share the cache with other processes and the OS.  If the OS and other processes aren't executing much then your code should stay in the cache (if it fits).
Reply
  • Note: This was originally posted on 12th July 2010 at http://forums.arm.com

    the tool chain  version is given below

    (2007q3-51) 4.2.1

    will i get neon performance by this version of tool chain !


    I expect that if you are using '-O3 -mcpu=cortex-a8 -mfpu=neon -mfloat-abi=softfp' that 2007q3-51 will try to vectorize.  You can use objdump to find out how well it is doing.  You should probably consider using 2010q1 as it's 2.5 years newer.

    I have one doubt will my code can enter the cache memory..?

    The OS critical module can use the cache all the time.?


    Your code will share the cache with other processes and the OS.  If the OS and other processes aren't executing much then your code should stay in the cache (if it fits).
Children
No data