Epicenter
Well-Known Member
I used to have a PDF document covering all sorts of specific ways to optimize C to run faster on ARM9 processors-- for example, running for() loops to count DOWN from their final value toward 0 rather than climbing UP from 0 to their final value (number of iterations). But, I seem to have misplaced it. Has anyone seen this who might know where to find it again?
Also, what are the fundamentals of obtaining maximum speed in a graphically intense program on the GP2x? So far, it's quite obvious to use hardware surfaces on everything possible that is creating heavy load to draw on the display, and to use 16-bit surfaces for everything with Paeryn's HW-SDL lib, also to use an integer-based OGG decoding library (naturally) .. are there any other major tricks to obtain maximum speed? Given the intensity of the game I am developing, every little drop of performance I can squeeze from the 920T would be beneficial.
Thanks for any tips.
Also, what are the fundamentals of obtaining maximum speed in a graphically intense program on the GP2x? So far, it's quite obvious to use hardware surfaces on everything possible that is creating heavy load to draw on the display, and to use 16-bit surfaces for everything with Paeryn's HW-SDL lib, also to use an integer-based OGG decoding library (naturally) .. are there any other major tricks to obtain maximum speed? Given the intensity of the game I am developing, every little drop of performance I can squeeze from the 920T would be beneficial.
Thanks for any tips.