Changeset 4865 in CLRX


Ignore:
Timestamp:
Jul 28, 2019, 5:14:30 PM (3 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add MIMG next testcases (GFX10).

File:
1 edited

Legend:

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

    r4864 r4865  
    34043404        "glc slc d16\n", { }, 0, false, "test.s:1:30: Error: Expected vector registers\n"
    34053405        "test.s:1:29: Error: MIMG VADDR requires least 3 registers\n" },
     3406    { "image_sample_c_l v[157:159], [v[121:124],s53], s[84:91], s[76:79] "
     3407        "dmask:11 dim:2d unorm glc slc\n", { }, 0, false,
     3408        "test.s:1:42: Error: Expected vector registers\n"
     3409        "test.s:1:45: Error: Expected ',' before argument\n" },
    34063410    /* MIMG instructions */
    34073411    { "image_load      v[157:159], v[121:122], s[84:91] dmask:11 dim:2d unorm glc slc\n",
     
    36393643        "s[84:91], s[76:79] dmask:11 dim:3d unorm glc slc\n",
    36403644        { 0xf2ec3b16U, 0x02759d79U, 0x615b492cU, 0x199b3ed8U, 0x00090177U }, 5, true, "" },
     3645    // MIMG symregs VADDR
     3646    { "xr=%v44; image_load v[157:158], [v121,xr,v212], s[84:91] dmask:15 dim:3d unorm "
     3647        "glc slc d16\n", { 0xf2003f12U, 0x80159d79U, 0x0000d42cU }, 3, true, "" },
     3648    { "xr=%v[44:45]; image_load v[157:158], [v121,xr], s[84:91] dmask:15 dim:3d unorm "
     3649        "glc slc d16\n", { 0xf2003f12U, 0x80159d79U, 0x00002d2cU }, 3, true, "" },
     3650    { "aha=%v44; ab=%v216; cb=%v[91:92]\n"
     3651        "image_sample_d  v[157:159], [v121,aha,v73,cb,ab,v62,v155,v25], "
     3652        "s[84:91], s[76:79] dmask:11 dim:3d unorm glc slc\n",
     3653        { 0xf2883b14U, 0x02759d79U, 0x5c5b492cU, 0x199b3ed8U }, 4, true, "" },
     3654    // MIMG VADDR longer
     3655    { "image_load      v[157:158], [v121,v44,v212,v76], s[84:91] dmask:15 dim:3d unorm "
     3656        "glc slc d16\n", { 0xf2003f12U, 0x80159d79U, 0x004cd42cU }, 3, true, "" },
    36413657    { nullptr, { }, 0, false, 0 }
    36423658};
Note: See TracChangeset for help on using the changeset viewer.