Arm Community
Site
Search
User
Site
Search
User
Support forums
Arm Development Studio forum
Vectorizing Compiler
Jump...
Cancel
Locked
Locked
Replies
6 replies
Subscribers
118 subscribers
Views
4183 views
Users
0 members are here
Options
Share
More actions
Cancel
Related
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
Dave Mathew
over 12 years ago
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
Scott Douglass
over 12 years ago
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?
Cancel
Vote up
0
Vote down
Cancel
Reply
Scott Douglass
over 12 years ago
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?
Cancel
Vote up
0
Vote down
Cancel
Children
No data