Changeset 4870 in CLRX


Ignore:
Timestamp:
Jul 28, 2019, 8:13:34 PM (4 months ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: FLAT instruction testcases for GFX10.

File:
1 edited

Legend:

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

    r4869 r4870  
    32673267    { "flat_load_ubyte v[47:48], v[187:188] glc", 0, 0, false, false,
    32683268        "test.s:1:17: Error: Required 1 vector register\n" },
     3269    /* FLAT instructions */
     3270    { "flat_load_sbyte  v47, v[187:188]", 0xdc240000U, 0x2f7d00bbU, true, true, "" },
     3271    { "flat_load_ushort  v47, v[187:188]", 0xdc280000U, 0x2f7d00bbU, true, true, "" },
     3272    { "flat_load_sshort  v47, v[187:188]", 0xdc2c0000U, 0x2f7d00bbU, true, true, "" },
     3273    { "flat_load_dword  v47, v[187:188]", 0xdc300000U, 0x2f7d00bbU, true, true, "" },
     3274    { "flat_load_dwordx2  v[47:48], v[187:188]",
     3275        0xdc340000U, 0x2f7d00bbU, true, true, "" },
     3276    { "flat_load_dwordx4  v[47:50], v[187:188]",
     3277        0xdc380000U, 0x2f7d00bbU, true, true, "" },
     3278    { "flat_load_dwordx3  v[47:49], v[187:188]",
     3279        0xdc3c0000U, 0x2f7d00bbU, true, true, "" },
     3280    { "flat_store_byte v[187:188], v90 glc slc\n",
     3281        0xdc630000U, 0x007d5abbU, true, true, "" },
     3282    { "flat_store_byte_d16_hi v[187:188], v90 glc slc\n",
     3283        0xdc670000U, 0x007d5abbU, true, true, "" },
     3284    { "flat_store_short v[187:188], v90 glc slc\n",
     3285        0xdc6b0000U, 0x007d5abbU, true, true, "" },
     3286    { "flat_store_short_d16_hi v[187:188], v90 glc slc\n",
     3287        0xdc6f0000U, 0x007d5abbU, true, true, "" },
     3288    { "flat_store_dword v[187:188], v90 glc slc\n",
     3289        0xdc730000U, 0x007d5abbU, true, true, "" },
     3290    { "flat_store_dwordx2 v[187:188], v[90:91] glc slc\n",
     3291        0xdc770000U, 0x007d5abbU, true, true, "" },
     3292    { "flat_store_dwordx4 v[187:188], v[90:93] glc slc\n",
     3293        0xdc7b0000U, 0x007d5abbU, true, true, "" },
     3294    { "flat_store_dwordx3 v[187:188], v[90:92] glc slc\n",
     3295        0xdc7f0000U, 0x007d5abbU, true, true, "" },
     3296    { "flat_load_ubyte_d16 v47, v[187:188] glc slc\n",
     3297        0xdc830000U, 0x2f7d00bbU, true, true, "" },
     3298    { "flat_load_ubyte_d16_hi v47, v[187:188] glc slc\n",
     3299        0xdc870000U, 0x2f7d00bbU, true, true, "" },
     3300    { "flat_load_sbyte_d16 v47, v[187:188] glc slc\n",
     3301        0xdc8b0000U, 0x2f7d00bbU, true, true, "" },
     3302    { "flat_load_sbyte_d16_hi v47, v[187:188] glc slc\n",
     3303        0xdc8f0000U, 0x2f7d00bbU, true, true, "" },
     3304    { "flat_load_short_d16 v47, v[187:188] glc slc\n",
     3305        0xdc930000U, 0x2f7d00bbU, true, true, "" },
     3306    { "flat_load_short_d16_hi v47, v[187:188] glc slc\n",
     3307        0xdc970000U, 0x2f7d00bbU, true, true, "" },
     3308    { "flat_atomic_swap v158, v[187:188], v90 glc slc\n",
     3309        0xdcc30000U, 0x9e7d5abbU, true, true, "" },
     3310    { "flat_atomic_swap v158, v[187:188], v90 slc\n",
     3311        0xdcc20000U, 0x9e7d5abbU, true, true, "" },
     3312    { "flat_atomic_cmpswap v158, v[187:188], v[90:91] glc slc\n",
     3313        0xdcc70000U, 0x9e7d5abbU, true, true, "" },
     3314    { "flat_atomic_add v158, v[187:188], v90 glc slc\n",
     3315        0xdccb0000U, 0x9e7d5abbU, true, true, "" },
     3316    { "flat_atomic_sub v158, v[187:188], v90 glc slc\n",
     3317        0xdccf0000U, 0x9e7d5abbU, true, true, "" },
     3318    { "flat_atomic_smin v158, v[187:188], v90 glc slc\n",
     3319        0xdcd70000U, 0x9e7d5abbU, true, true, "" },
     3320    { "flat_atomic_umin v158, v[187:188], v90 glc slc\n",
     3321        0xdcdb0000U, 0x9e7d5abbU, true, true, "" },
     3322    { "flat_atomic_smax v158, v[187:188], v90 glc slc\n",
     3323        0xdcdf0000U, 0x9e7d5abbU, true, true, "" },
     3324    { "flat_atomic_umax v158, v[187:188], v90 glc slc\n",
     3325        0xdce30000U, 0x9e7d5abbU, true, true, "" },
     3326    { "flat_atomic_and v158, v[187:188], v90 glc slc\n",
     3327        0xdce70000U, 0x9e7d5abbU, true, true, "" },
     3328    { "flat_atomic_or  v158, v[187:188], v90 glc slc\n",
     3329        0xdceb0000U, 0x9e7d5abbU, true, true, "" },
     3330    { "flat_atomic_xor v158, v[187:188], v90 glc slc\n",
     3331        0xdcef0000U, 0x9e7d5abbU, true, true, "" },
     3332    { "flat_atomic_inc v158, v[187:188], v90 glc slc\n",
     3333        0xdcf30000U, 0x9e7d5abbU, true, true, "" },
     3334    { "flat_atomic_dec v158, v[187:188], v90 glc slc\n",
     3335        0xdcf70000U, 0x9e7d5abbU, true, true, "" },
     3336    { "flat_atomic_fcmpswap v158, v[187:188], v[90:91] glc slc\n",
     3337        0xdcfb0000U, 0x9e7d5abbU, true, true, "" },
     3338    { "flat_atomic_fmin v158, v[187:188], v90 glc slc\n",
     3339        0xdcff0000U, 0x9e7d5abbU, true, true, "" },
     3340    { "flat_atomic_fmax v158, v[187:188], v90 glc slc\n",
     3341        0xdd030000U, 0x9e7d5abbU, true, true, "" },
     3342    { "flat_atomic_swap_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3343        0xdd430000U, 0x9e7d5abbU, true, true, "" },
     3344    { "flat_atomic_swap_x2 v[158:159], v[187:188], v[90:91] slc\n",
     3345        0xdd420000U, 0x9e7d5abbU, true, true, "" },
     3346    { "flat_atomic_cmpswap_x2 v[158:159], v[187:188], v[90:93] glc slc\n",
     3347        0xdd470000U, 0x9e7d5abbU, true, true, "" },
     3348    { "flat_atomic_add_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3349        0xdd4b0000U, 0x9e7d5abbU, true, true, "" },
     3350    { "flat_atomic_sub_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3351        0xdd4f0000U, 0x9e7d5abbU, true, true, "" },
     3352    { "flat_atomic_smin_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3353        0xdd570000U, 0x9e7d5abbU, true, true, "" },
     3354    { "flat_atomic_umin_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3355        0xdd5b0000U, 0x9e7d5abbU, true, true, "" },
     3356    { "flat_atomic_smax_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3357        0xdd5f0000U, 0x9e7d5abbU, true, true, "" },
     3358    { "flat_atomic_umax_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3359        0xdd630000U, 0x9e7d5abbU, true, true, "" },
     3360    { "flat_atomic_and_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3361        0xdd670000U, 0x9e7d5abbU, true, true, "" },
     3362    { "flat_atomic_or_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3363        0xdd6b0000U, 0x9e7d5abbU, true, true, "" },
     3364    { "flat_atomic_xor_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3365        0xdd6f0000U, 0x9e7d5abbU, true, true, "" },
     3366    { "flat_atomic_inc_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3367        0xdd730000U, 0x9e7d5abbU, true, true, "" },
     3368    { "flat_atomic_dec_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3369        0xdd770000U, 0x9e7d5abbU, true, true, "" },
     3370    { "flat_atomic_fcmpswap_x2 v[158:159], v[187:188], v[90:93] glc slc\n",
     3371        0xdd7b0000U, 0x9e7d5abbU, true, true, "" },
     3372    { "flat_atomic_fmin_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3373        0xdd7f0000U, 0x9e7d5abbU, true, true, "" },
     3374    { "flat_atomic_fmax_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
     3375        0xdd830000U, 0x9e7d5abbU, true, true, "" },
    32693376    { nullptr, 0, 0, false, false, 0 }
    32703377};
Note: See TracChangeset for help on using the changeset viewer.