Module: Mesa
Branch: master
Commit: 101f47fdd7f9111d176f90a5d0ec033baa0015e9
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=101f47fdd7f9111d176f90a5d0ec033baa0015e9

Author: Rhys Perry <[email protected]>
Date:   Sat Sep 21 14:10:38 2019 +0100

aco: fix opcode for s_mul_hi_i32

Fixes dEQP-VK.glsl.builtin.function.integer.imulextended.*_compute

Signed-off-by: Rhys Perry <[email protected]>
Reviewed-by: Daniel Schürmann <[email protected]>
Reviewed-by: Bas Nieuwenhuizen <[email protected]>

---

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

diff --git a/src/amd/compiler/aco_opcodes.py b/src/amd/compiler/aco_opcodes.py
index c680974bfec..1b9c3c7a155 100644
--- a/src/amd/compiler/aco_opcodes.py
+++ b/src/amd/compiler/aco_opcodes.py
@@ -294,7 +294,7 @@ SOP2 = {
    (  -1,   -1,   -1, 0x33, 0x33, "s_pack_lh_b32_b16"),
    (  -1,   -1,   -1, 0x34, 0x34, "s_pack_hh_b32_b16"),
    (  -1,   -1,   -1, 0x2c, 0x35, "s_mul_hi_u32"),
-   (  -1,   -1,   -1, 0x2c, 0x35, "s_mul_hi_i32"),
+   (  -1,   -1,   -1, 0x2d, 0x36, "s_mul_hi_i32"),
 }
 for (gfx6, gfx7, gfx8, gfx9, gfx10, name) in SOP2:
     opcode(name, gfx9, gfx10, Format.SOP2)

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to