[MIPS] Test case dspr2-MULT is failed
Mingjie Xing
mingjie.xing@gmail.com
Fri Feb 18 06:21:00 GMT 2011
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
More information about the Gcc
mailing list