Dear Robin, On Sun, 16 Jan 2011 00:55:49 GMT Robin Watts <[email protected]> wrote:
>In message <[email protected]> > [email protected] wrote: >> "orr %0, %2, lsl #16\n\t" /* %0 |= %2 << 16 */ > >vs > >> "orr %0, %0, %2, lsl #16\n\t" /* %0 |= %2 << 16 */ >> >> You can find the number of arguments to "orr" is different. > >The original ARM assembler format used the 3 register form. The thumb >instruction set is more tightly constrained, and insists that the >destination and first source register are the same. Thank you for the explanation of the historical background of 3-operands syntax (that I called as "omitted" syntax). Hmm, so, if I used 4-operands syntax in the assembly code, it cannot be assembled by THUMB instruction, and the codesize would be worse... Should I insert some ifdef to enable original 3-operands syntax for the platform with THUMB? Regards, mpsuzuki _______________________________________________ Freetype mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/freetype
