Re: [Mesa-dev] [PATCH] gf100/ir: limms on gm107 are 19 bit

2016-10-08 Thread Samuel Pitoiset
On 10/08/2016 09:26 PM, Ilia Mirkin wrote: Pretty sure that the float one is fine. And there's a 20th bit, it just behaves differently than one might expect. I don't remember all the details though... Yep, the float one is correct. The 20th bit is the sign bit, which is correctly emitted in

Re: [Mesa-dev] [PATCH] gf100/ir: limms on gm107 are 19 bit

2016-10-08 Thread Karol Herbst
2016-10-08 21:26 GMT+02:00 Ilia Mirkin : > Pretty sure that the float one is fine. And there's a 20th bit, it > just behaves differently than one might expect. I don't remember all > the details though... ohh I think you are right, just took a loot inside

Re: [Mesa-dev] [PATCH] gf100/ir: limms on gm107 are 19 bit

2016-10-08 Thread Ilia Mirkin
Pretty sure that the float one is fine. And there's a 20th bit, it just behaves differently than one might expect. I don't remember all the details though... On Sat, Oct 8, 2016 at 3:23 PM, Karol Herbst wrote: > the emit code uses 19 everywhere, so we should let >

[Mesa-dev] [PATCH] gf100/ir: limms on gm107 are 19 bit

2016-10-08 Thread Karol Herbst
the emit code uses 19 everywhere, so we should let CodeEmitterGM107::longIMMD and TargetNVC0::insnCanLoad check against this too Signed-off-by: Karol Herbst --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 6 +++---