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] microMIPS ASE instruction set support [Part 1]


On Tue, 15 Jun 2010, Andrew Pinski wrote:

> > Please let me know if this patch looks okay to commit.
> > ? ? ? ?* passes.c (init_optimization_passes): Call peephole2.
> 
> Could you explain more about why you are using another peephole2 here
> and why the current position of peephole2 is not being efficient?
> Was it because there would be some peephole cases missed?  Like what
> was referenced in
> http://gcc.gnu.org/ml/gcc-patches/2010-04/msg01714.html (since both
> are dealing with load/store multiple)?

 I believe it is related to the use of MOVEP (move a pair of registers) 
instruction, so it may be a similar issue indeed.

 Chao-ying, this is your original comment: "I found out that after sched2, 
we can run peephole2 to save code size more." -- would you please 
elaborate?

  Maciej


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