On Wed, Feb 10, 2010 at 09:55:25AM -0600, Quentin Neill wrote: > GAS knows this information for each insn.
That's not the problem. GCC knows the lengths by the time it's a whole instruction. The problem is figuring out what instruction (plus (reg) (reg)) will expand to - before you even know what the registers are. -- Daniel Jacobowitz CodeSourcery