Module: Mesa
Branch: main
Commit: 6e4598f7b97cc0d1251b180d515ad4e6060957a4
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=6e4598f7b97cc0d1251b180d515ad4e6060957a4

Author: Georg Lehmann <[email protected]>
Date:   Tue Feb  7 21:40:25 2023 +0100

aco: support omod/imod for v_fmac_f16

Only matters for post-RA DPP16.

Reviewed-by: Rhys Perry <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21174>

---

 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 d1696eb8a27..99841194925 100644
--- a/src/amd/compiler/aco_opcodes.py
+++ b/src/amd/compiler/aco_opcodes.py
@@ -781,7 +781,7 @@ VOP2 = {
    (  -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
-   (  -1,   -1,   -1,   -1, 0x36, 0x36, "v_fmac_f16", False, False),
+   (  -1,   -1,   -1,   -1, 0x36, 0x36, "v_fmac_f16", True, True),
    (  -1,   -1,   -1,   -1, 0x37, 0x37, "v_fmamk_f16", False, False),
    (  -1,   -1,   -1,   -1, 0x38, 0x38, "v_fmaak_f16", False, False),
    (  -1,   -1,   -1,   -1, 0x3c, 0x3c, "v_pk_fmac_f16", False, False),

Reply via email to