Re: [Mesa-dev] [PATCH 30/59] intel/compiler: document MAD algebraic optimization

2018-12-07 Thread Pohjolainen, Topi
On Tue, Dec 04, 2018 at 08:16:54AM +0100, Iago Toral Quiroga wrote: > This optimization depends on two other optimization passes: the > constant propagation pass, which allows immediate propagation > on MAD/LRP instructions even though the hardware can't do it, > and the combine constants pass to f

[Mesa-dev] [PATCH 30/59] intel/compiler: document MAD algebraic optimization

2018-12-03 Thread Iago Toral Quiroga
This optimization depends on two other optimization passes: the constant propagation pass, which allows immediate propagation on MAD/LRP instructions even though the hardware can't do it, and the combine constants pass to fix this up afterwards for the cases that we could not optimize here. Also,