This is the mail archive of the gcc@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] |
Overall, the -O3 code isn't really much worse than the -O2 code. In the O2 code, calling from LI2->LI1->LI2 involves two sibcalls. In the -O3 case, the same sequence involves one regular function call. Note that LI2 is calling itself, not LI1. This is because LI1 was inlined into LI2. So it is possible that the -O3 code may actually be faster, even though it has calls instead of sibcalls.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |