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]

Re: [PATCH RS6000 (non ppc64)] add peephole for adding an unsigned int and an long long together


On Mon, May 12, 2003 at 08:26:12PM -0400, Andrew Pinski wrote:
> 	* 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.

I don't think you should do this via peephole2.  You should
be able to write an insn pattern and let combine do this.


r~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]