Changeset 4871 in CLRX


Ignore:
Timestamp:
Jul 28, 2019, 8:35:53 PM (3 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: FLAT SCRATCH instruction testcases for GFX10.

File:
1 edited

Legend:

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

    r4870 r4871  
    33743374    { "flat_atomic_fmax_x2 v[158:159], v[187:188], v[90:91] glc slc\n",
    33753375        0xdd830000U, 0x9e7d5abbU, true, true, "" },
     3376    /* FLAT SCRATCH encoding */
     3377    { "scratch_load_ubyte v47, v187, off glc slc\n",
     3378        0xdc234000U, 0x2f7d00bbU, true, true, "" },
     3379    { "scratch_load_ubyte v47, off, s83 glc slc\n",
     3380        0xdc234000U, 0x2f530000U, true, true, "" },
     3381    { "scratch_load_ubyte v47, off, s83 inst_offset:1379 glc slc\n",
     3382        0xdc234563U, 0x2f530000U, true, true, "" },
     3383    { "scratch_load_ubyte v47, off, s83 inst_offset:0xe4c56 glc slc\n",
     3384        0xdc234456U, 0x2f530000U, true, true,
     3385        "test.s:1:46: Warning: Value 0xe4c56 truncated to 0x456\n" },
     3386    { "scratch_load_ubyte v47, off, s83 offset:1379 glc slc\n",
     3387        0xdc234563U, 0x2f530000U, true, true, "" },
     3388    { "scratch_load_ubyte v47, off, s83 offset:0xe4c56 glc slc\n",
     3389        0xdc234456U, 0x2f530000U, true, true,
     3390        "test.s:1:41: Warning: Value 0xe4c56 truncated to 0x456\n" },
     3391    { "scratch_load_ubyte v47, off, s83 offset:du glc slc; du=0xe4c17\n",
     3392        0xdc234417U, 0x2f530000U, true, true,
     3393        "test.s:1:41: Warning: Value 0xe4c17 truncated to 0x417\n" },
     3394    /* FLAT SCRATCH instructions */
     3395    { "scratch_load_sbyte v47, v187, off glc slc\n",
     3396        0xdc274000U, 0x2f7d00bbU, true, true, "" },
     3397    { "scratch_load_ushort v47, v187, off glc slc\n",
     3398        0xdc2b4000U, 0x2f7d00bbU, true, true, "" },
     3399    { "scratch_load_sshort v47, v187, off glc slc\n",
     3400        0xdc2f4000U, 0x2f7d00bbU, true, true, "" },
     3401    { "scratch_load_dword v47, v187, off glc slc\n",
     3402        0xdc334000U, 0x2f7d00bbU, true, true, "" },
     3403    { "scratch_load_dwordx2 v[47:48], v187, off glc slc\n",
     3404        0xdc374000U, 0x2f7d00bbU, true, true, "" },
     3405    { "scratch_load_dwordx4 v[47:50], v187, off glc slc\n",
     3406        0xdc3b4000U, 0x2f7d00bbU, true, true, "" },
     3407    { "scratch_load_dwordx3 v[47:49], v187, off glc slc\n",
     3408        0xdc3f4000U, 0x2f7d00bbU, true, true, "" },
     3409    { "scratch_store_byte v187, v57, off glc slc\n",
     3410        0xdc634000U, 0x007d39bbU, true, true, "" },
     3411    { "scratch_store_byte_d16_hi v187, v57, off glc slc\n",
     3412        0xdc674000U, 0x007d39bbU, true, true, "" },
     3413    { "scratch_store_short v187, v57, off glc slc\n",
     3414        0xdc6b4000U, 0x007d39bbU, true, true, "" },
     3415    { "scratch_store_short_d16_hi v187, v57, off glc slc\n",
     3416        0xdc6f4000U, 0x007d39bbU, true, true, "" },
     3417    { "scratch_store_dword v187, v57, off glc slc\n",
     3418        0xdc734000U, 0x007d39bbU, true, true, "" },
     3419    { "scratch_store_dwordx2 v187, v[57:58], off glc slc\n",
     3420        0xdc774000U, 0x007d39bbU, true, true, "" },
     3421    { "scratch_store_dwordx4 v187, v[57:60], off glc slc\n",
     3422        0xdc7b4000U, 0x007d39bbU, true, true, "" },
     3423    { "scratch_store_dwordx3 v187, v[57:59], off glc slc\n",
     3424        0xdc7f4000U, 0x007d39bbU, true, true, "" },
     3425    { "scratch_load_ubyte_d16 v47, v187, off glc slc\n",
     3426        0xdc834000U, 0x2f7d00bbU, true, true, "" },
     3427    { "scratch_load_ubyte_d16_hi v47, v187, off glc slc\n",
     3428        0xdc874000U, 0x2f7d00bbU, true, true, "" },
     3429    { "scratch_load_sbyte_d16 v47, v187, off glc slc\n",
     3430        0xdc8b4000U, 0x2f7d00bbU, true, true, "" },
     3431    { "scratch_load_sbyte_d16_hi v47, v187, off glc slc\n",
     3432        0xdc8f4000U, 0x2f7d00bbU, true, true, "" },
     3433    { "scratch_load_short_d16 v47, v187, off glc slc\n",
     3434        0xdc934000U, 0x2f7d00bbU, true, true, "" },
     3435    { "scratch_load_short_d16_hi v47, v187, off glc slc\n",
     3436        0xdc974000U, 0x2f7d00bbU, true, true, "" },
    33763437    { nullptr, 0, 0, false, false, 0 }
    33773438};
Note: See TracChangeset for help on using the changeset viewer.