aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRhys Perry <[email protected]>2019-09-21 14:10:38 +0100
committerRhys Perry <[email protected]>2019-09-25 15:28:44 +0000
commit101f47fdd7f9111d176f90a5d0ec033baa0015e9 (patch)
treef45d3456a15edfb75dde52d9ddf6b6ee839e2d8e
parent2faaf04c6240f44afe99ba9e51e79b0b41d390b1 (diff)
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]>
-rw-r--r--src/amd/compiler/aco_opcodes.py2
1 files changed, 1 insertions, 1 deletions
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)