Re: [Mesa-dev] [PATCH 1/2] i965: Combine some dead code elimination NOP'ing code.

2017-01-17 Thread Francisco Jerez
Kenneth Graunke writes: > On Saturday, January 14, 2017 11:09:53 PM PST Francisco Jerez wrote: >> Hi Ken! >> >> Kenneth Graunke writes: >> >> > In theory we might have incorrectly NOP'd instructions that write the >> > flag, but where that flag value isn't used, and yet the instruction >> > ei

Re: [Mesa-dev] [PATCH 1/2] i965: Combine some dead code elimination NOP'ing code.

2017-01-14 Thread Kenneth Graunke
On Saturday, January 14, 2017 11:09:53 PM PST Francisco Jerez wrote: > Hi Ken! > > Kenneth Graunke writes: > > > In theory we might have incorrectly NOP'd instructions that write the > > flag, but where that flag value isn't used, and yet the instruction > > either writes the accumulator or has

Re: [Mesa-dev] [PATCH 1/2] i965: Combine some dead code elimination NOP'ing code.

2017-01-14 Thread Francisco Jerez
Hi Ken! Kenneth Graunke writes: > In theory we might have incorrectly NOP'd instructions that write the > flag, but where that flag value isn't used, and yet the instruction > either writes the accumulator or has side effects. > > I don't believe any such instructions exist, so this is mostly a

[Mesa-dev] [PATCH 1/2] i965: Combine some dead code elimination NOP'ing code.

2017-01-13 Thread Kenneth Graunke
In theory we might have incorrectly NOP'd instructions that write the flag, but where that flag value isn't used, and yet the instruction either writes the accumulator or has side effects. I don't believe any such instructions exist, so this is mostly a code cleanup. Signed-off-by: Kenneth Graunk