Re: [Mesa-dev] [PATCH 2/2] gm107/ir: optimize 32-bit CONST load to mov

2016-11-25 Thread Ilia Mirkin
Reviewed-by: Ilia Mirkin On Fri, Nov 25, 2016 at 5:07 AM, Samuel Pitoiset wrote: > This is not allowed for indirect accesses because the source > GPR might be erased by a subsequent instruction (WaR hazard) > if we don't emit a read dep bar. > > Signed-off-by: Samuel Pitoiset > --- > .../drive

[Mesa-dev] [PATCH 2/2] gm107/ir: optimize 32-bit CONST load to mov

2016-11-25 Thread Samuel Pitoiset
This is not allowed for indirect accesses because the source GPR might be erased by a subsequent instruction (WaR hazard) if we don't emit a read dep bar. Signed-off-by: Samuel Pitoiset --- .../drivers/nouveau/codegen/nv50_ir_lowering_gm107.cpp | 16 .../drivers/nouveau/codege