Re: [Mesa-dev] [PATCH v2] i965/nir: do int64 lowering before optimization

2018-02-05 Thread Matt Turner
On Mon, Feb 5, 2018 at 5:40 AM, Iago Toral Quiroga wrote: > Otherwise loop unrolling will fail to see the actual cost of > the unrolling operations when the loop body contains 64-bit integer > instructions, and very specially when the divmod64 lowering applies, > since its lowering is quite expens

[Mesa-dev] [PATCH v2] i965/nir: do int64 lowering before optimization

2018-02-05 Thread Iago Toral Quiroga
Otherwise loop unrolling will fail to see the actual cost of the unrolling operations when the loop body contains 64-bit integer instructions, and very specially when the divmod64 lowering applies, since its lowering is quite expensive. Without this change, some in-development CTS tests for int64