From: Rhys Perry Date: Sat, 21 Sep 2019 13:10:38 +0000 (+0100) Subject: aco: fix opcode for s_mul_hi_i32 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=101f47fdd7f9111d176f90a5d0ec033baa0015e9;p=mesa.git aco: fix opcode for s_mul_hi_i32 Fixes dEQP-VK.glsl.builtin.function.integer.imulextended.*_compute Signed-off-by: Rhys Perry Reviewed-by: Daniel Schürmann Reviewed-by: Bas Nieuwenhuizen --- 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)