aco: fix opcode for s_mul_hi_i32
authorRhys Perry <pendingchaos02@gmail.com>
Sat, 21 Sep 2019 13:10:38 +0000 (14:10 +0100)
committerRhys Perry <pendingchaos02@gmail.com>
Wed, 25 Sep 2019 15:28:44 +0000 (15:28 +0000)
Fixes dEQP-VK.glsl.builtin.function.integer.imulextended.*_compute

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/compiler/aco_opcodes.py

index c680974bfecb65ad303dd1082cf46c4a2fbea133..1b9c3c7a155cbad7aa8470ba5a5dcf764704518d 100644 (file)
@@ -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)