Displaying 3 results from an estimated 3 matches for "nvc0_builtin_div_u32".
Did you mean:
  nvc0_builtin_div_s32
  
2017 Aug 12
3
[PATCH] nvc0/ir: propagate immediates to CALL input MOVs
...src, to make code elimination possible here before we
+         // delete the instruction i later
+         i->setSrc(s, NULL);
+         if (ld->getDef(0)->refCount() == 0)
+            delete_Instruction(prog, ld);
+      }
+   }
+
    switch (i->dType) {
    case TYPE_U32: builtin = NVC0_BUILTIN_DIV_U32; break;
    case TYPE_S32: builtin = NVC0_BUILTIN_DIV_S32; break;
-- 
2.14.0
2017 Aug 13
1
[PATCH v2] nvc0/ir: propagate immediates to CALL input MOVs
...// Clear the src, to make code elimination possible here before we
+         // delete the instruction i later
+         i->setSrc(s, NULL);
+         if (ld->isDead())
+            delete_Instruction(prog, ld);
+      }
+   }
+
    switch (i->dType) {
    case TYPE_U32: builtin = NVC0_BUILTIN_DIV_U32; break;
    case TYPE_S32: builtin = NVC0_BUILTIN_DIV_S32; break;
-- 
2.14.0
2017 Aug 12
0
[PATCH] nvc0/ir: propagate immediates to CALL input MOVs
...NULL);
i gets deleted later on. move the deletion of ld after that happens?
> +         if (ld->getDef(0)->refCount() == 0)
ld->isDead()
> +            delete_Instruction(prog, ld);
> +      }
> +   }
> +
>     switch (i->dType) {
>     case TYPE_U32: builtin = NVC0_BUILTIN_DIV_U32; break;
>     case TYPE_S32: builtin = NVC0_BUILTIN_DIV_S32; break;
> --
> 2.14.0
>
> _______________________________________________
> Nouveau mailing list
> Nouveau at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/nouveau