Richard Sandiford [mailto:rdsandif...@googlemail.com] wrote:
> 
> >   From http://gcc.gnu.org/ml/gcc-patches/2001-02/msg01480.html,
> > the patch defines HARD_REGNO_CALLER_SAVE_MODE to return 
> proper mode for i386.
> > For MIPS, we may have:
> > Ex:
> > #define HARD_REGNO_CALLER_SAVE_MODE(REGNO, NREGS, MODE)     
>             \
> >    ((MODE) == VOIDmode ? choose_hard_reg_mode ((REGNO), 
> (NREGS), false) \
> >    : (MODE))
> >
> >   Any feedback about adding HARD_REGNO_CALLER_SAVE_MODE to 
> MIPS?  Thanks!
> 
> Sounds like a good idea.
> 
> Richard
> 

  I will run regression tests and post a patch later.  Thanks a lot!

Regards,
Chao-ying

Reply via email to