From 4c9ac730641c5af51b01bf82f4f105c85f36ab0f Mon Sep 17 00:00:00 2001 From: Georg Lehmann Date: Tue, 7 Feb 2023 21:35:25 +0100 Subject: [PATCH] aco: allow output modifiers for ldexp_f16 It also supports imod for the first operand, but we cannot express that at moment. Reviewed-by: Rhys Perry Part-of: --- 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 420939bc9f7..ff22742c2aa 100644 --- a/src/amd/compiler/aco_opcodes.py +++ b/src/amd/compiler/aco_opcodes.py @@ -777,7 +777,7 @@ VOP2 = { ( -1, -1, 0x30, 0x30, -1, -1, "v_max_i16", False, False), ( -1, -1, 0x31, 0x31, -1, -1, "v_min_u16", False, False), ( -1, -1, 0x32, 0x32, -1, -1, "v_min_i16", False, False), - ( -1, -1, 0x33, 0x33, 0x3b, 0x3b, "v_ldexp_f16", False, False), + ( -1, -1, 0x33, 0x33, 0x3b, 0x3b, "v_ldexp_f16", False, True), ( -1, -1, -1, 0x34, 0x25, 0x25, "v_add_u32", False, False), # called v_add_nc_u32 in RDNA ( -1, -1, -1, 0x35, 0x26, 0x26, "v_sub_u32", False, False), # called v_sub_nc_u32 in RDNA ( -1, -1, -1, 0x36, 0x27, 0x27, "v_subrev_u32", False, False), # called v_subrev_nc_u32 in RDNA