This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [MIPS] Test case dspr2-MULT is failed
- From: Mingjie Xing <mingjie dot xing at gmail dot com>
- To: "Fu, Chao-Ying" <fu at mips dot com>
- Cc: Chung-Lin Tang <cltang at codesourcery dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>, Richard Sandiford <rdsandiford at googlemail dot com>, "Fuhler, Rich" <rich at mips dot com>
- Date: Fri, 18 Feb 2011 09:19:01 +0800
- Subject: Re: [MIPS] Test case dspr2-MULT is failed
- References: <AANLkTimhP_2mewXieOCg0ppKNrx2084V1Okes69_5q6v@mail.gmail.com> <87ipyacba8.fsf@firetop.home> <4D260AC3.8080105@codesourcery.com> <7C6479EB2BF52547AC332FD6034646DA8495BF8A@exchdb01.mips.com>
2011/2/18 Fu, Chao-Ying <fu@mips.com>:
> I think your analysis is correct. ?We should just delete mips_order_regs_for_local_alloc()
> in mips.c and delete ADJUST_REG_ALLOC_ORDER in mips.h.
> Then, 3 accumulators can be used in dspr2-MULT.c and dspr2-MULTU.c now. ?Thanks!
/* ADJUST_REG_ALLOC_ORDER is a macro which permits reg_alloc_order
to be rearranged based on a particular function. On the mips16, we
want to allocate $24 (T_REG) before other registers for
instructions for which it is possible. */
#define ADJUST_REG_ALLOC_ORDER mips_order_regs_for_local_alloc ()
I'm just wondering if it Is appropriate to simply remove
ADJUST_REG_ALLOC_ORDER considering its comment.
Regards,
Mingjie