Re: Add an operand number argument to rtx_cost

2011-08-15 Thread Richard Guenther
On Mon, Aug 15, 2011 at 5:34 PM, Richard Sandiford wrote: > Richard Guenther writes: >> On Mon, Aug 15, 2011 at 5:15 PM, Richard Sandiford >> wrote: >>> rtx_cost knows that the expression under test (X) is an operand to an >>> expression of a particular code (OUTER_CODE).  However, nothing says

Re: Add an operand number argument to rtx_cost

2011-08-15 Thread Richard Sandiford
Richard Guenther writes: > On Mon, Aug 15, 2011 at 5:15 PM, Richard Sandiford > wrote: >> rtx_cost knows that the expression under test (X) is an operand to an >> expression of a particular code (OUTER_CODE).  However, nothing says >> which operand it actually is.  This can make a difference for