2011/2/18 Fu, Chao-Ying <f...@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