From 57b00258146632ba5ef4b84513ec4faa8a5907c1 Mon Sep 17 00:00:00 2001 From: Ilia Mirkin Date: Sat, 7 Nov 2015 03:30:26 -0500 Subject: [PATCH] gm107/ir: set LD/ST address width bit Signed-off-by: Ilia Mirkin --- src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp index ec74e7ac811..c628cfe9a54 100644 --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp @@ -2146,6 +2146,7 @@ CodeEmitterGM107::emitLD() emitPRED (0x3a); emitLDSTc(0x38); emitLDSTs(0x35, insn->dType); + emitField(0x34, 1, insn->src(0).getIndirect(0)->getSize() == 8); emitADDR (0x08, 0x14, 32, 0, insn->src(0)); emitGPR (0x00, insn->def(0)); } @@ -2176,6 +2177,7 @@ CodeEmitterGM107::emitST() emitPRED (0x3a); emitLDSTc(0x38); emitLDSTs(0x35, insn->dType); + emitField(0x34, 1, insn->src(0).getIndirect(0)->getSize() == 8); emitADDR (0x08, 0x14, 32, 0, insn->src(0)); emitGPR (0x00, insn->src(1)); } -- 2.30.2