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]

[PATCH RS6000] adding an unsigned SI and a DI together and subtracting an unsigned SI from an DI


This patch does what my other to patches do but earlier and have the combine stage do the work for me.

The only problem I have with this patch is that it make `zero_extendsidi2' done in an split which might cause worse code.

ChangeLog:

2003-05-13 Andrew Pinski <pinskia@physics.uc.edu>

	* config/rs6000/rs6000.md (zero_extendsidi2): Have the expand
	done unconditionally.  (*zero_extendsidi2_no64): New insn and
	split for the non PPC 64 case. (*zero_extendsidi2_64): Add name
	for the PPC 64 case of zero_extendsidi2.  (*adddi3_noppc64_disi):
	New instruction for combine to use, which simplifies adddi3 with
	zero_extended SI.  (* subdi3_noppc64_disi): Likewise but for subdi3.

Patch:

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]