Changeset 4872 in CLRX


Ignore:
Timestamp:
Jul 28, 2019, 9:03:08 PM (5 months ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: FLAT GLOBAL instruction testcases for GFX10.

File:
1 edited

Legend:

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

    r4871 r4872  
    34353435    { "scratch_load_short_d16_hi v47, v187, off glc slc\n",
    34363436        0xdc974000U, 0x2f7d00bbU, true, true, "" },
     3437    /* FLAT GLOBAL encoding */
     3438    { "global_load_ubyte v47, v[187:188], off glc slc\n",
     3439        0xdc238000U, 0x2f7d00bbU, true, true, "" },
     3440    { "global_load_ubyte v47, v187, s[38:39] glc slc\n",
     3441        0xdc238000U, 0x2f2600bbU, true, true, "" },
     3442    { "global_load_ubyte v47, v187, s[38:39] inst_offset:1662 glc slc\n",
     3443        0xdc23867eU, 0x2f2600bbU, true, true, "" },
     3444    { "global_load_ubyte v47, v187, s[38:39] offset:1662 glc slc\n",
     3445        0xdc23867eU, 0x2f2600bbU, true, true, "" },
     3446    { "global_load_ubyte v47, v187, s[38:39] offset:0xb8a89 glc slc\n",
     3447        0xdc238289U, 0x2f2600bbU, true, true,
     3448        "test.s:1:46: Warning: Value 0xb8a89 truncated to 0x289\n" },
     3449    { "global_load_ubyte v47, v187, s[38:39] offset:testv glc slc; testv=0x72f62\n",
     3450        0xdc238762U, 0x2f2600bbU, true, true,
     3451        "test.s:1:46: Warning: Value 0x72f62 truncated to 0x762\n" },
     3452    { "global_load_ubyte v47, v[188:189], off\n",
     3453        0xdc208000U, 0x2f7d00bcU, true, true, "" },
     3454    /* FLAT GLOBAL instructions */
     3455    { "global_load_sbyte v47, v187, s[38:39] glc slc\n",
     3456        0xdc278000U, 0x2f2600bbU, true, true, "" },
     3457    { "global_load_ushort v47, v187, s[38:39] glc slc\n",
     3458        0xdc2b8000U, 0x2f2600bbU, true, true, "" },
     3459    { "global_load_sshort v47, v187, s[38:39] glc slc\n",
     3460        0xdc2f8000U, 0x2f2600bbU, true, true, "" },
     3461    { "global_load_dword v47, v187, s[38:39] glc slc\n",
     3462        0xdc338000U, 0x2f2600bbU, true, true, "" },
     3463    { "global_load_dwordx2 v[47:48], v187, s[38:39] glc slc\n",
     3464        0xdc378000U, 0x2f2600bbU, true, true, "" },
     3465    { "global_load_dwordx4 v[47:50], v187, s[38:39] glc slc\n",
     3466        0xdc3b8000U, 0x2f2600bbU, true, true, "" },
     3467    { "global_load_dwordx3 v[47:49], v187, s[38:39] glc slc\n",
     3468        0xdc3f8000U, 0x2f2600bbU, true, true, "" },
     3469    { "global_store_byte v187, v163, s[38:39] glc slc\n",
     3470        0xdc638000U, 0x0026a3bbU, true, true, "" },
     3471    { "global_store_byte_d16_hi v187, v163, s[38:39] glc slc\n",
     3472        0xdc678000U, 0x0026a3bbU, true, true, "" },
     3473    { "global_store_short v187, v163, s[38:39] glc slc\n",
     3474        0xdc6b8000U, 0x0026a3bbU, true, true, "" },
     3475    { "global_store_short_d16_hi v187, v163, s[38:39] glc slc\n",
     3476        0xdc6f8000U, 0x0026a3bbU, true, true, "" },
     3477    { "global_store_dword v187, v163, s[38:39] glc slc\n",
     3478        0xdc738000U, 0x0026a3bbU, true, true, "" },
     3479    { "global_store_dwordx2 v187, v[163:164], s[38:39] glc slc\n",
     3480        0xdc778000U, 0x0026a3bbU, true, true, "" },
     3481    { "global_store_dwordx4 v187, v[163:166], s[38:39] glc slc\n",
     3482        0xdc7b8000U, 0x0026a3bbU, true, true, "" },
     3483    { "global_store_dwordx3 v187, v[163:165], s[38:39] glc slc\n",
     3484        0xdc7f8000U, 0x0026a3bbU, true, true, "" },
     3485    { "global_load_ubyte_d16 v47, v187, s[38:39] glc slc\n",
     3486        0xdc838000U, 0x2f2600bbU, true, true, "" },
     3487    { "global_load_ubyte_d16_hi v47, v187, s[38:39] glc slc\n",
     3488        0xdc878000U, 0x2f2600bbU, true, true, "" },
     3489    { "global_load_sbyte_d16 v47, v187, s[38:39] glc slc\n",
     3490        0xdc8b8000U, 0x2f2600bbU, true, true, "" },
     3491    { "global_load_sbyte_d16_hi v47, v187, s[38:39] glc slc\n",
     3492        0xdc8f8000U, 0x2f2600bbU, true, true, "" },
     3493    { "global_load_short_d16 v47, v187, s[38:39] glc slc\n",
     3494        0xdc938000U, 0x2f2600bbU, true, true, "" },
     3495    { "global_load_short_d16_hi v47, v187, s[38:39] glc slc\n",
     3496        0xdc978000U, 0x2f2600bbU, true, true, "" },
     3497    { "global_atomic_swap v47, v187, v150, s[38:39] glc slc\n",
     3498        0xdcc38000U, 0x2f2696bbU, true, true, "" },
     3499    { "global_atomic_cmpswap v47, v187, v[150:151], s[38:39] glc slc\n",
     3500        0xdcc78000U, 0x2f2696bbU, true, true, "" },
     3501    { "global_atomic_add v47, v187, v150, s[38:39] glc slc\n",
     3502        0xdccb8000U, 0x2f2696bbU, true, true, "" },
     3503    { "global_atomic_sub v47, v187, v150, s[38:39] glc slc\n",
     3504        0xdccf8000U, 0x2f2696bbU, true, true, "" },
     3505    { "global_atomic_smin v47, v187, v150, s[38:39] glc slc\n",
     3506        0xdcd78000U, 0x2f2696bbU, true, true, "" },
     3507    { "global_atomic_umin v47, v187, v150, s[38:39] glc slc\n",
     3508        0xdcdb8000U, 0x2f2696bbU, true, true, "" },
     3509    { "global_atomic_smax v47, v187, v150, s[38:39] glc slc\n",
     3510        0xdcdf8000U, 0x2f2696bbU, true, true, "" },
     3511    { "global_atomic_umax v47, v187, v150, s[38:39] glc slc\n",
     3512        0xdce38000U, 0x2f2696bbU, true, true, "" },
     3513    { "global_atomic_and v47, v187, v150, s[38:39] glc slc\n",
     3514        0xdce78000U, 0x2f2696bbU, true, true, "" },
     3515    { "global_atomic_or v47, v187, v150, s[38:39] glc slc\n",
     3516        0xdceb8000U, 0x2f2696bbU, true, true, "" },
     3517    { "global_atomic_xor v47, v187, v150, s[38:39] glc slc\n",
     3518        0xdcef8000U, 0x2f2696bbU, true, true, "" },
     3519    { "global_atomic_inc v47, v187, v150, s[38:39] glc slc\n",
     3520        0xdcf38000U, 0x2f2696bbU, true, true, "" },
     3521    { "global_atomic_dec v47, v187, v150, s[38:39] glc slc\n",
     3522        0xdcf78000U, 0x2f2696bbU, true, true, "" },
     3523    { "global_atomic_fcmpswap v47, v187, v[150:151], s[38:39] glc slc\n",
     3524        0xdcfb8000U, 0x2f2696bbU, true, true, "" },
     3525    { "global_atomic_fmin v47, v187, v150, s[38:39] glc slc\n",
     3526        0xdcff8000U, 0x2f2696bbU, true, true, "" },
     3527    { "global_atomic_fmax v47, v187, v150, s[38:39] glc slc\n",
     3528        0xdd038000U, 0x2f2696bbU, true, true, "" },
     3529    { "global_atomic_swap_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3530        0xdd438000U, 0x2f2696bbU, true, true, "" },
     3531    { "global_atomic_cmpswap_x2 v[47:48], v187, v[150:153], s[38:39] glc slc\n",
     3532        0xdd478000U, 0x2f2696bbU, true, true, "" },
     3533    { "global_atomic_add_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3534        0xdd4b8000U, 0x2f2696bbU, true, true, "" },
     3535    { "global_atomic_sub_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3536        0xdd4f8000U, 0x2f2696bbU, true, true, "" },
     3537    { "global_atomic_smin_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3538        0xdd578000U, 0x2f2696bbU, true, true, "" },
     3539    { "global_atomic_umin_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3540        0xdd5b8000U, 0x2f2696bbU, true, true, "" },
     3541    { "global_atomic_smax_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3542        0xdd5f8000U, 0x2f2696bbU, true, true, "" },
     3543    { "global_atomic_umax_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3544        0xdd638000U, 0x2f2696bbU, true, true, "" },
     3545    { "global_atomic_and_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3546        0xdd678000U, 0x2f2696bbU, true, true, "" },
     3547    { "global_atomic_or_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3548        0xdd6b8000U, 0x2f2696bbU, true, true, "" },
     3549    { "global_atomic_xor_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3550        0xdd6f8000U, 0x2f2696bbU, true, true, "" },
     3551    { "global_atomic_inc_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3552        0xdd738000U, 0x2f2696bbU, true, true, "" },
     3553    { "global_atomic_dec_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3554        0xdd778000U, 0x2f2696bbU, true, true, "" },
     3555    { "global_atomic_fcmpswap_x2 v[47:48], v187, v[150:153], s[38:39] glc slc\n",
     3556        0xdd7b8000U, 0x2f2696bbU, true, true, "" },
     3557    { "global_atomic_fmin_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3558        0xdd7f8000U, 0x2f2696bbU, true, true, "" },
     3559    { "global_atomic_fmax_x2 v[47:48], v187, v[150:151], s[38:39] glc slc\n",
     3560        0xdd838000U, 0x2f2696bbU, true, true, "" },
    34373561    { nullptr, 0, 0, false, false, 0 }
    34383562};
Note: See TracChangeset for help on using the changeset viewer.