Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7549169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T09:53:01+00:00 2026-05-30T09:53:01+00:00

This is an update to the question: iPhone GCC / LLVM GCC or LLVM?

  • 0

This is an update to the question: iPhone GCC / LLVM GCC or LLVM? …since it’s been over a year since that question was asked.

I’m very new to graphics processing and am just beginning to learn OpenGL ES.

I was reading this: http://www.dpfiles.com/dpfileswiki/index.php?title=Black_Art_of_3D_Game_Programming%2C_Chapter_10:_3D_Fundamentals#Fixed_Point_Mathematics …and know that some of the information is outdated.

Do the limitations mentioned in this section still apply to iPhones?

i.e. Is using fixed point math still a dramatic improvement over floating point?

What compiler should I use to optimize matrix operations?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T09:53:03+00:00Added an answer on May 30, 2026 at 9:53 am

    First, as I stated in answer to the question you’ve linked above, LLVM in general provides better performance for compiled code when targeting iOS. Apple is even removing GCC as a compiler from Xcode, so you won’t really have a choice about that. Use LLVM.

    Second, the statements made in that article about fixed point math do not apply to the OpenGL ES implementation on iOS devices. The PowerVR GPUs used in these devices are tuned to use floating point inputs, and can actually have reduced performance when dealing with fixed point data. From Apple’s OpenGL ES Programming Guide:

    Avoid using the OpenGL ES GL_FIXED data type. It requires the same
    amount of memory as GL_FLOAT, but provides a smaller range of values.
    All iOS devices support hardware floating-point units, so floating
    point values can be processed more quickly.

    and

    The ARM processor in iOS devices processes floating-point instructions
    natively. Your application should use floating-point instead of fixed
    point math whenever possible. If you are porting an application that
    uses fixed-point operations, rewrite the code to use floating-point
    types.

    I believe that the PowerVR documentation (available as part of their free SDK) also mentions this.

    Also, you should probably enable building for Thumb on ARMv7 devices (iPhone 3G S and newer) and disable it for ARMv6 devices, because that slows floating point calculations on the latter, but not the former, and can lead to better performance on the former class of devices.

    Finally, when it comes to matrix operations, if you only want to target iOS 5.0, you should use the new matrix math functions that came in with GLKit. Those use NEON-accelerated implementations to do fast vector math. You could also roll your own or find an existing implementation that uses the Accelerate framework or direct NEON calculations.

    That all said, none of these areas will likely be a bottleneck for you when doing OpenGL ES rendering. Use Instruments and other tools to find the real areas within your application that are slowing down your rendering. These optimizations I’ve mentioned will only shave small amounts of time off of this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to iPhone development, so my apologies if this is a ridiculous question.
Update: With iPhone OS 3.0+, the whole UIImagePickerController API has changed. This question and
Update: this question, including the title, was rephrased, see history for details I know
UPDATE: This question is out of date, but left for informational purposes. Original Question
Update: This question was an epic failure, but here's the working solution. It's based
Update: This question is a duplicate of Are there any programming languages targeting PHP,
Sorry for the double post, I will update this question if I can't get
Duplicate of this question . update - This is not an exact duplicate. See
Update: Check out this follow-up question: Gem Update on Windows - is it broken?
Update: Please read this question in the context of design principles, elegance, expression of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.