diff options
author | Rhys Perry <pendingchaos02@gmail.com> | 2020-02-21 12:00:38 +0000 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-03-03 18:31:06 +0000 |
commit | 215df21dea14358cccc1c9d84a186221cf834c7d (patch) | |
tree | 8c127062f4d1fa693e63eac659c4231972514ff8 /src | |
parent | 18675363a35e98e6afa39c77b983ca6f383bfc00 (diff) |
aco: fix carry-out size for wave32 v_add_co_u32_e64
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-By: Timur Kristóf <timur.kristof@gmail.com>
Fixes: e0bcefc3a0a ('aco/wave32: Use lane mask regclass for exec/vcc.')
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3902>
Diffstat (limited to 'src')
-rw-r--r-- | src/amd/compiler/aco_builder_h.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/compiler/aco_builder_h.py b/src/amd/compiler/aco_builder_h.py index 97c03ac8adf..65eee5ebd1d 100644 --- a/src/amd/compiler/aco_builder_h.py +++ b/src/amd/compiler/aco_builder_h.py @@ -392,7 +392,7 @@ public: if (!carry_in.op.isUndefined()) return vop2(aco_opcode::v_addc_co_u32, Definition(dst), hint_vcc(def(lm)), a, b, carry_in); else if (program->chip_class >= GFX10 && carry_out) - return vop3(aco_opcode::v_add_co_u32_e64, Definition(dst), def(s2), a, b); + return vop3(aco_opcode::v_add_co_u32_e64, Definition(dst), def(lm), a, b); else if (program->chip_class < GFX9 || carry_out) return vop2(aco_opcode::v_add_co_u32, Definition(dst), hint_vcc(def(lm)), a, b); else |