This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On a GCC 4.1.1 cross targeted to mips-mips-elf, this C input file:
int sum(int a, int b) { return a + b + 42; }
produces this output with -O3:
addiu v0,a0,42 jr ra addu v0,a1,v0
Why does the compiler place "jr" before "addu"?
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |