This is the mail archive of the gcc-patches@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] |
long long a(long long i, unsigned int j) { return i+j; }
Currently it produces with -O3: _a: mr r6,r5 li r5,0 addc r4,r4,r6 adde r3,r3,r5 blr
_a: addc r4,r5,r4 addze r3,r3 blr
2003-05-12 Andrew Pinski <pinskia@physics.uc.edu> * config/rs6000/rs6000.md: New peephole2 for adding unsigned int and long long together. (*adddi3_noppc64_disi): New insn for adding unsigned int and long long together.
Attachment:
temp.diff
Description: Binary data
Thanks, Andrew Pinski
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |