Module: Mesa
Branch: main
Commit: 18f6c2328f1ccb830188fba76fe3d0a97e7ece72
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=18f6c2328f1ccb830188fba76fe3d0a97e7ece72

Author: Georg Lehmann <[email protected]>
Date:   Fri Nov 10 15:21:29 2023 +0100

aco: use lm for carry out in vsub32

Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/26163>

---

 src/amd/compiler/aco_builder_h.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/amd/compiler/aco_builder_h.py 
b/src/amd/compiler/aco_builder_h.py
index 7e07a55baa4..4d56d067585 100644
--- a/src/amd/compiler/aco_builder_h.py
+++ b/src/amd/compiler/aco_builder_h.py
@@ -497,7 +497,7 @@ public:
       aco_opcode op;
       Temp carry;
       if (carry_out) {
-         carry = tmp(s2);
+         carry = tmp(lm);
          if (borrow.op.isUndefined())
             op = reverse ? aco_opcode::v_subrev_co_u32 : 
aco_opcode::v_sub_co_u32;
          else

Reply via email to