From 101f47fdd7f9111d176f90a5d0ec033baa0015e9 Mon Sep 17 00:00:00 2001 From: Rhys Perry Date: Sat, 21 Sep 2019 14:10:38 +0100 Subject: [PATCH] aco: fix opcode for s_mul_hi_i32 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Fixes dEQP-VK.glsl.builtin.function.integer.imulextended.*_compute Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Reviewed-by: Bas Nieuwenhuizen --- 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) -- 2.30.2