Changeset 3103 in CLRX


Ignore:
Timestamp:
May 29, 2017, 9:15:53 PM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add testcases for new VOP3 instructions for AMD VEGA arch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpc14.cpp

    r3102 r3103  
    357357    { "v_writelane_regwr_b32 v55, v27 vop3\n", 0xd1900037U, 0x0000011bU, true, true, "" },
    358358    { "v_swap_b32      v55, v27 vop3\n", 0xd1910037U, 0x0000011bU, true, true, "" },
     359    /* VOP3 instructions */
     360    { "v_mad_u32_u16   v55, v79, v166, v229\n", 0xd1f10037U, 0x07974d4fU, true, true, "" },
     361    { "v_mad_i32_i16   v55, v79, v166, v229\n", 0xd1f20037U, 0x07974d4fU, true, true, "" },
     362    { "v_xad_u32       v55, v79, v166, v229\n", 0xd1f30037U, 0x07974d4fU, true, true, "" },
     363    { "v_min3_f16      v55, v79, v166, v229\n", 0xd1f40037U, 0x07974d4fU, true, true, "" },
     364    { "v_min3_i16      v55, v79, v166, v229\n", 0xd1f50037U, 0x07974d4fU, true, true, "" },
     365    { "v_min3_u16      v55, v79, v166, v229\n", 0xd1f60037U, 0x07974d4fU, true, true, "" },
     366    { "v_max3_f16      v55, v79, v166, v229\n", 0xd1f70037U, 0x07974d4fU, true, true, "" },
     367    { "v_max3_i16      v55, v79, v166, v229\n", 0xd1f80037U, 0x07974d4fU, true, true, "" },
     368    { "v_max3_u16      v55, v79, v166, v229\n", 0xd1f90037U, 0x07974d4fU, true, true, "" },
     369    { "v_med3_f16      v55, v79, v166, v229\n", 0xd1fa0037U, 0x07974d4fU, true, true, "" },
     370    { "v_med3_i16      v55, v79, v166, v229\n", 0xd1fb0037U, 0x07974d4fU, true, true, "" },
     371    { "v_med3_u16      v55, v79, v166, v229\n", 0xd1fc0037U, 0x07974d4fU, true, true, "" },
     372    { "v_lshl_add_u32  v55, v79, v166, v229\n", 0xd1fd0037U, 0x07974d4fU, true, true, "" },
     373    { "v_add_lshl_u32  v55, v79, v166, v229\n", 0xd1fe0037U, 0x07974d4fU, true, true, "" },
     374    { "v_add3_u32      v55, v79, v166, v229\n", 0xd1ff0037U, 0x07974d4fU, true, true, "" },
     375    { "v_lshl_or_b32   v55, v79, v166, v229\n", 0xd2000037U, 0x07974d4fU, true, true, "" },
     376    { "v_and_or_b32    v55, v79, v166, v229\n", 0xd2010037U, 0x07974d4fU, true, true, "" },
     377    { "v_or3_b32       v55, v79, v166, v229\n", 0xd2020037U, 0x07974d4fU, true, true, "" },
     378    { "v_mad_f16       v55, v79, v166, v229\n", 0xd2030037U, 0x07974d4fU, true, true, "" },
     379    { "v_mad_u16       v55, v79, v166, v229\n", 0xd2040037U, 0x07974d4fU, true, true, "" },
     380    { "v_mad_i16       v55, v79, v166, v229\n", 0xd2050037U, 0x07974d4fU, true, true, "" },
     381    { "v_fma_f16       v55, v79, v166, v229\n", 0xd2060037U, 0x07974d4fU, true, true, "" },
     382    { "v_div_fixup_f16 v55, v79, v166, v229\n", 0xd2070037U, 0x07974d4fU, true, true, "" },
     383    { "v_mad_legacy_f16 v55, v79, v166, v229\n", 0xd1ea0037U, 0x07974d4fU, true, true, "" },
     384    { "v_mad_legacy_u16 v55, v79, v166, v229\n", 0xd1eb0037U, 0x07974d4fU, true, true, "" },
     385    { "v_mad_legacy_i16 v55, v79, v166, v229\n", 0xd1ec0037U, 0x07974d4fU, true, true, "" },
     386    { "v_fma_legacy_f16 v55, v79, v166, v229\n", 0xd1ee0037U, 0x07974d4fU, true, true, "" },
     387    { "v_div_fixup_legacy_f16 v55, v79, v166, v229\n",
     388        0xd1ef0037U, 0x07974d4fU, true, true, "" },
     389    { "v_interp_p2_legacy_f16 v42, v1, attr39.z, s29\n",
     390        0xd276002aU, 0x007602a7U, true, true, "" },
     391    { "v_interp_p2_f16 v42, v1, attr39.z, s29\n",
     392        0xd277002aU, 0x007602a7U, true, true, "" },
     393    { "v_cvt_pknorm_i16_f16 v55, v27, v90\n", 0xd2990037U, 0x0002b51bU, true, true, "" },
     394    { "v_cvt_pknorm_u16_f16 v55, v27, v90\n", 0xd29a0037U, 0x0002b51bU, true, true, "" },
     395    { "v_readlane_regrd_b32 s55, v27, v90\n", 0xd29b0037U, 0x0002b51bU, true, true, "" },
     396    { "v_add_i32       v55, v27, v90\n", 0xd29c0037U, 0x0002b51bU, true, true, "" },
     397    { "v_sub_i32       v55, v27, v90\n", 0xd29d0037U, 0x0002b51bU, true, true, "" },
     398    { "v_add_i16       v55, v27, v90\n", 0xd29e0037U, 0x0002b51bU, true, true, "" },
     399    { "v_sub_i16       v55, v27, v90\n", 0xd29f0037U, 0x0002b51bU, true, true, "" },
     400    { "v_pack_b32_f16  v55, v27, v90\n", 0xd2a00037U, 0x0002b51bU, true, true, "" },
     401    /* VOP3 op_sel */
    359402    { nullptr, 0, 0, false, false, 0 }
    360403};
Note: See TracChangeset for help on using the changeset viewer.