Changeset 4853 in CLRX


Ignore:
Timestamp:
Jul 26, 2019, 7:59:34 PM (5 months ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add MUBUF instruction testcases for GFX10.

File:
1 edited

Legend:

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

    r4852 r4853  
    29582958    { "    buffer_load_format_x v61, v18, s[80:83], xx idxen offset:603",
    29592959        0, 0, false, false, "test.s:1:46: Error: Literal in MUBUF is illegal\n" },
     2960    /* other MUBUF instructions */
     2961    { "    buffer_load_format_x v61, v18, s[80:83], s35 idxen offset:603",
     2962        0xe000225bU, 0x23143d12U, true, true, "" },
     2963    { "    buffer_load_format_xy v[61:62], v18, s[80:83], s35 idxen offset:603",
     2964        0xe004225bU, 0x23143d12U, true, true, "" },
     2965    { "    buffer_load_format_xyz v[61:63], v18, s[80:83], s35 idxen offset:603",
     2966        0xe008225bU, 0x23143d12U, true, true, "" },
     2967    { "    buffer_load_format_xyzw v[61:64], v18, s[80:83], s35 idxen offset:603",
     2968        0xe00c225bU, 0x23143d12U, true, true, "" },
     2969    { "    buffer_store_format_x v61, v18, s[80:83], s35 idxen offset:603",
     2970        0xe010225bU, 0x23143d12U, true, true, "" },
     2971    { "    buffer_store_format_xy v[61:62], v18, s[80:83], s35 idxen offset:603",
     2972        0xe014225bU, 0x23143d12U, true, true, "" },
     2973    { "    buffer_store_format_xy v[61:63], v18, s[80:83], s35 idxen offset:603 tfe",
     2974        0xe014225bU, 0x23943d12U, true, true, "" },
     2975    { "    buffer_store_format_xyz v[61:63], v18, s[80:83], s35 idxen offset:603",
     2976        0xe018225bU, 0x23143d12U, true, true, "" },
     2977    { "    buffer_store_format_xyz v[61:64], v18, s[80:83], s35 idxen offset:603 tfe",
     2978        0xe018225bU, 0x23943d12U, true, true, "" },
     2979    { "    buffer_store_format_xyzw v[61:64], v18, s[80:83], s35 idxen offset:603",
     2980        0xe01c225bU, 0x23143d12U, true, true, "" },
     2981    { "    buffer_store_format_xyzw v[61:65], v18, s[80:83], s35 idxen offset:603 tfe",
     2982        0xe01c225bU, 0x23943d12U, true, true, "" },
     2983    { "    buffer_load_ubyte v61, v18, s[80:83], s35 idxen offset:603",
     2984        0xe020225bU, 0x23143d12U, true, true, "" },
     2985    { "    buffer_load_sbyte v61, v18, s[80:83], s35 idxen offset:603",
     2986        0xe024225bU, 0x23143d12U, true, true, "" },
     2987    { "    buffer_load_ushort v61, v18, s[80:83], s35 idxen offset:603",
     2988        0xe028225bU, 0x23143d12U, true, true, "" },
     2989    { "    buffer_load_sshort v61, v18, s[80:83], s35 idxen offset:603",
     2990        0xe02c225bU, 0x23143d12U, true, true, "" },
     2991    { "    buffer_load_dword v61, v18, s[80:83], s35 idxen offset:603",
     2992        0xe030225bU, 0x23143d12U, true, true, "" },
     2993    { "    buffer_load_dwordx2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     2994        0xe034225bU, 0x23143d12U, true, true, "" },
     2995    { "    buffer_load_dwordx4 v[61:64], v18, s[80:83], s35 idxen offset:603",
     2996        0xe038225bU, 0x23143d12U, true, true, "" },
     2997    { "    buffer_load_dwordx3 v[61:63], v18, s[80:83], s35 idxen offset:603",
     2998        0xe03c225bU, 0x23143d12U, true, true, "" },
     2999    { "    buffer_store_byte v61, v18, s[80:83], s35 idxen offset:603",
     3000        0xe060225bU, 0x23143d12U, true, true, "" },
     3001    { "    buffer_store_byte_d16_hi v61, v18, s[80:83], s35 idxen offset:603",
     3002        0xe064225bU, 0x23143d12U, true, true, "" },
     3003    { "    buffer_store_short v61, v18, s[80:83], s35 idxen offset:603",
     3004        0xe068225bU, 0x23143d12U, true, true, "" },
     3005    { "    buffer_store_short_d16_hi v61, v18, s[80:83], s35 idxen offset:603",
     3006        0xe06c225bU, 0x23143d12U, true, true, "" },
     3007    { "    buffer_store_dword v61, v18, s[80:83], s35 idxen offset:603",
     3008        0xe070225bU, 0x23143d12U, true, true, "" },
     3009    { "    buffer_store_dwordx2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3010        0xe074225bU, 0x23143d12U, true, true, "" },
     3011    { "    buffer_store_dwordx4 v[61:64], v18, s[80:83], s35 idxen offset:603",
     3012        0xe078225bU, 0x23143d12U, true, true, "" },
     3013    { "    buffer_store_dwordx3 v[61:63], v18, s[80:83], s35 idxen offset:603",
     3014        0xe07c225bU, 0x23143d12U, true, true, "" },
     3015    { "    buffer_load_ubyte_d16 v61, v18, s[80:83], s35 idxen offset:603",
     3016        0xe080225bU, 0x23143d12U, true, true, "" },
     3017    { "    buffer_load_ubyte_d16_hi v61, v18, s[80:83], s35 idxen offset:603",
     3018        0xe084225bU, 0x23143d12U, true, true, "" },
     3019    { "    buffer_load_sbyte_d16 v61, v18, s[80:83], s35 idxen offset:603",
     3020        0xe088225bU, 0x23143d12U, true, true, "" },
     3021    { "    buffer_load_sbyte_d16_hi v61, v18, s[80:83], s35 idxen offset:603",
     3022        0xe08c225bU, 0x23143d12U, true, true, "" },
     3023    { "    buffer_load_short_d16 v61, v18, s[80:83], s35 idxen offset:603",
     3024        0xe090225bU, 0x23143d12U, true, true, "" },
     3025    { "    buffer_load_short_d16_hi v61, v18, s[80:83], s35 idxen offset:603",
     3026        0xe094225bU, 0x23143d12U, true, true, "" },
     3027    { "    buffer_atomic_swap v61, v18, s[80:83], s35 idxen offset:603",
     3028        0xe0c0225bU, 0x23143d12U, true, true, "" },
     3029    { "    buffer_atomic_cmpswap v[61:62], v18, s[80:83], s35 idxen offset:603",
     3030        0xe0c4225bU, 0x23143d12U, true, true, "" },
     3031    { "    buffer_atomic_add v61, v18, s[80:83], s35 idxen offset:603",
     3032        0xe0c8225bU, 0x23143d12U, true, true, "" },
     3033    { "    buffer_atomic_sub v61, v18, s[80:83], s35 idxen offset:603",
     3034        0xe0cc225bU, 0x23143d12U, true, true, "" },
     3035    { "    buffer_atomic_rsub v61, v18, s[80:83], s35 idxen offset:603", 0, 0,
     3036        false, false, "test.s:1:5: Error: Unknown instruction\n" },
     3037    { "    buffer_atomic_smin v61, v18, s[80:83], s35 idxen offset:603",
     3038        0xe0d4225bU, 0x23143d12U, true, true, "" },
     3039    { "    buffer_atomic_umin v61, v18, s[80:83], s35 idxen offset:603",
     3040        0xe0d8225bU, 0x23143d12U, true, true, "" },
     3041    { "    buffer_atomic_smax v61, v18, s[80:83], s35 idxen offset:603",
     3042        0xe0dc225bU, 0x23143d12U, true, true, "" },
     3043    { "    buffer_atomic_umax v61, v18, s[80:83], s35 idxen offset:603",
     3044        0xe0e0225bU, 0x23143d12U, true, true, "" },
     3045    { "    buffer_atomic_and v61, v18, s[80:83], s35 idxen offset:603",
     3046        0xe0e4225bU, 0x23143d12U, true, true, "" },
     3047    { "    buffer_atomic_or v61, v18, s[80:83], s35 idxen offset:603",
     3048        0xe0e8225bU, 0x23143d12U, true, true, "" },
     3049    { "    buffer_atomic_xor v61, v18, s[80:83], s35 idxen offset:603",
     3050        0xe0ec225bU, 0x23143d12U, true, true, "" },
     3051    { "    buffer_atomic_inc v61, v18, s[80:83], s35 idxen offset:603",
     3052        0xe0f0225bU, 0x23143d12U, true, true, "" },
     3053    { "    buffer_atomic_dec v61, v18, s[80:83], s35 idxen offset:603",
     3054        0xe0f4225bU, 0x23143d12U, true, true, "" },
     3055    { "    buffer_atomic_swap_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3056        0xe140225bU, 0x23143d12U, true, true, "" },
     3057    { "    buffer_atomic_cmpswap_x2 v[61:64], v18, s[80:83], s35 idxen offset:603",
     3058        0xe144225bU, 0x23143d12U, true, true, "" },
     3059    { "    buffer_atomic_add_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3060        0xe148225bU, 0x23143d12U, true, true, "" },
     3061    { "    buffer_atomic_sub_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3062        0xe14c225bU, 0x23143d12U, true, true, "" },
     3063    { "    buffer_atomic_rsub_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3064        0, 0, false, false, "test.s:1:5: Error: Unknown instruction\n" },
     3065    { "    buffer_atomic_smin_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3066        0xe154225bU, 0x23143d12U, true, true, "" },
     3067    { "    buffer_atomic_umin_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3068        0xe158225bU, 0x23143d12U, true, true, "" },
     3069    { "    buffer_atomic_smax_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3070        0xe15c225bU, 0x23143d12U, true, true, "" },
     3071    { "    buffer_atomic_umax_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3072        0xe160225bU, 0x23143d12U, true, true, "" },
     3073    { "    buffer_atomic_and_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3074        0xe164225bU, 0x23143d12U, true, true, "" },
     3075    { "    buffer_atomic_or_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3076        0xe168225bU, 0x23143d12U, true, true, "" },
     3077    { "    buffer_atomic_xor_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3078        0xe16c225bU, 0x23143d12U, true, true, "" },
     3079    { "    buffer_atomic_inc_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3080        0xe170225bU, 0x23143d12U, true, true, "" },
     3081    { "    buffer_atomic_dec_x2 v[61:62], v18, s[80:83], s35 idxen offset:603",
     3082        0xe174225bU, 0x23143d12U, true, true, "" },
     3083    { "        buffer_gl0_inv\n", 0xe1c40000U, 0x00000000U, true, true, "" },
     3084    { "        buffer_wbinvl1\n", 0xe1c40000U, 0x00000000U, true, true, "" },
     3085    { "        buffer_gl1_inv\n", 0xe1c80000U, 0x00000000U, true, true, "" },
    29603086    { nullptr, 0, 0, false, false, 0 }
    29613087};
Note: See TracChangeset for help on using the changeset viewer.