Forums - gcc compiler argument of CPU MACRO supported in msm8660

2 posts / 0 new
Last post
gcc compiler argument of CPU MACRO supported in msm8660
yuan_Yuan
Join Date: 17 Sep 11
Posts: 2
Posted: Mon, 2011-09-26 19:04

     Hi,

     i'm working on fps optimization for openGL application, and as we know, correct CPU MACRO may help the application to get more fps. what could i refer to get the complier argument of CPU MACRO? or would you  please list them here.


Thanks,

  • Up0
  • Down0
Steve L (not verified)
Posted: Thu, 2011-10-27 09:42

 

I’m not sure what you're looking for here – probably some compiler macro that reports exactly which CPU or instruction set the program is being built for. That’ll be different depending on what build system you're using. If using the NDK, then building with ‘ndk-build V=1’ will display the complete build command, and you can find from there what macros are being used.  Does that help?

 

  • Up0
  • Down0
or Register

Opinions expressed in the content posted here are the personal opinions of the original authors, and do not necessarily reflect those of Qualcomm Incorporated or its subsidiaries (“Qualcomm”). The content is provided for informational purposes only and is not meant to be an endorsement or representation by Qualcomm or any other party. This site may also provide links or references to non-Qualcomm sites and resources. Qualcomm makes no representations, warranties, or other commitments whatsoever about any non-Qualcomm sites or third-party resources that may be referenced, accessible from, or linked to this site.