by cryo » Jan 6, 2002 @ 9:56am
Hey,<br><br>as far as i understand, the only reason for using the THUMB instructions in assembler is the higher code density. For speed, one should always go for ARM instructions. <br>Does anyone know if this is generally true or are there exception to this rule? Has someone measured performance vs. code size? The only real problem i see is that a too large rutine in ARM could be small enough if recoded in THUMB to use the cache better. And does a veneer mean a high preformance penalty? What does eVC do, it seems like it always generates ARM, or does it depend on the optimization settings, i.e. if i go for "smallest code" will it use THUMB instead of ARM instructions? <br><br>I guess THUMB is cool for the smaller devices and processors like cell phones and the like, i dont think with modern PDA's having at least 32MB the size of an executable is such a problem.<br><br>thanx in advance, i hope some guru can answer some of this :)<br><br>cryo<br>