diff options
author | Ilia Mirkin <[email protected]> | 2015-11-07 03:30:26 -0500 |
---|---|---|
committer | Ilia Mirkin <[email protected]> | 2016-01-20 19:37:34 -0500 |
commit | 57b00258146632ba5ef4b84513ec4faa8a5907c1 (patch) | |
tree | 158a15592590b3359e02057dd86a2a631ae48bb5 /src/gallium/drivers | |
parent | 2e533ab74be1f997ddfaaf01798e7e3018138ac2 (diff) |
gm107/ir: set LD/ST address width bit
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r-- | src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gm107.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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)); } |