LWN.net Logo

having two compilers is good

having two compilers is good

Posted Mar 2, 2009 8:03 UTC (Mon) by joib (guest, #8541)
In reply to: having two compilers is good by nix
Parent article: LinuxDNA Supercharges Linux with the Intel C/C++ Compiler (Linux Journal)

Well, most production quality compilers, gcc included, are capable of vectorization these days. For gcc there is the -ftree-vectorize option (included in -O3 in newer versions), and -ftree-vectorizer-verbose= option for printing diagnostics.

For C and C++, you probably have to mark some of your argument pointers/references with __restrict.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds