Re: Improve ivopts handling of forced scales

2017-11-06 Thread Bin.Cheng
On Fri, Nov 3, 2017 at 4:28 PM, Richard Sandiford wrote: > This patch improves the ivopts address cost calculcation for modes > in which an index must be scaled rather than unscaled. Previously > we would only try the scaled form if the unscaled form was valid. > >

Improve ivopts handling of forced scales

2017-11-03 Thread Richard Sandiford
This patch improves the ivopts address cost calculcation for modes in which an index must be scaled rather than unscaled. Previously we would only try the scaled form if the unscaled form was valid. Many of the SVE tests rely on this when matching scaled indices. Tested on aarch64-linux-gnu,