Re: [Mesa-dev] [PATCH 2/2] gk110/ir: always use limm form for log ops with immediates

2018-03-16 Thread Karol Herbst
On Fri, Mar 16, 2018 at 11:10 PM, Ilia Mirkin wrote: > You got the subjects backwards. > > On Fri, Mar 16, 2018 at 6:05 PM, Karol Herbst wrote: >> in the short imm form 0x8 was sign-extended to 0xfff8 which leads to >> wrong results. >> >> Signed-off-by: Karol Herbst >> --- >> src/galli

Re: [Mesa-dev] [PATCH 2/2] gk110/ir: always use limm form for log ops with immediates

2018-03-16 Thread Ilia Mirkin
You got the subjects backwards. On Fri, Mar 16, 2018 at 6:05 PM, Karol Herbst wrote: > in the short imm form 0x8 was sign-extended to 0xfff8 which leads to > wrong results. > > Signed-off-by: Karol Herbst > --- > src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 2 +- > 1 file

[Mesa-dev] [PATCH 2/2] gk110/ir: always use limm form for log ops with immediates

2018-03-16 Thread Karol Herbst
in the short imm form 0x8 was sign-extended to 0xfff8 which leads to wrong results. Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_nvc0.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_em