[Mesa-stable] [Mesa-dev] [PATCH 1/2] gk110/ir: make use of IMUL32I for all immediates
Ilia Mirkin
imirkin at alum.mit.edu
Wed Apr 20 17:46:24 UTC 2016
Reviewed-by: Ilia Mirkin <imirkin at alum.mit.edu>
On Wed, Apr 20, 2016 at 1:06 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> Cc: "11.1 11.2" <mesa-stable at lists.freedesktop.org>
> ---
> src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
> index 59e5c83..f69567a 100644
> --- a/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
> +++ b/src/gallium/drivers/nouveau/codegen/nv50_ir_emit_gk110.cpp
> @@ -612,7 +612,7 @@ CodeEmitterGK110::emitIMUL(const Instruction *i)
> assert(!i->src(0).mod.neg() && !i->src(1).mod.neg());
> assert(!i->src(0).mod.abs() && !i->src(1).mod.abs());
>
> - if (isLIMM(i->src(1), TYPE_S32)) {
> + if (i->src(1).getFile() == FILE_IMMEDIATE) {
> emitForm_L(i, 0x280, 2, Modifier(0));
>
> if (i->subOp == NV50_IR_SUBOP_MUL_HIGH)
> --
> 2.8.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
More information about the mesa-stable
mailing list