Re: [PATCH, RS6000] gpc_reg_operand

2015-05-18 Thread David Edelsohn
On Mon, May 18, 2015 at 9:09 PM, Alan Modra wrote: > gpc_reg_operand contains a test that dates back to the early 1990s, > when FIRST_PSEUDO_REGISTER was 76. At that point, testing > REGNO (op) >= ARG_POINTER_REGNUM allowed ap, xer/ca, cr0..cr7 and > pseudos. A later patch corrected this to remo

[PATCH, RS6000] gpc_reg_operand

2015-05-18 Thread Alan Modra
gpc_reg_operand contains a test that dates back to the early 1990s, when FIRST_PSEUDO_REGISTER was 76. At that point, testing REGNO (op) >= ARG_POINTER_REGNUM allowed ap, xer/ca, cr0..cr7 and pseudos. A later patch corrected this to remove xer. Nowadays we have a lot more hard registers, altivec