Question about ARM optimization settings

J Sevy jsevy@cs.drexel.edu
Wed Sep 14 00:56:00 GMT 2005


I'm compiling code for an ARM926EJ-S core, and had a question as to the difference in two possible optimization flag settings available in gcc 3.4:
-mcpu=arm926ejs
 and
-march=armv5te
Either applies to the core; which is preferable - i.e., which will generate code best optimized for this core - or are they equivalent?
Thanks,
 \
 Jon

-- 


___________________________________________

             Jonathan Sevy
 Geometric and Intelligent Computing Lab
           Drexel University
    http://gicl.cs.drexel.edu/sevy
___________________________________________




More information about the Gcc-help mailing list