Changeset 4851 in CLRX


Ignore:
Timestamp:
Jul 26, 2019, 5:45:18 PM (3 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add MUBUF encoding testcases for GFX10.

File:
1 edited

Legend:

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

    r4846 r4851  
    29012901    { "    ds_read_b128  v[155:158], v71 offset:52583",
    29022902        0xdbfccd67U, 0x9b000047U, true, true, "" },
     2903    /* MUBUF encoding */
     2904    { "    buffer_load_format_x  v[61:62], v18, s[80:83], s35 "
     2905        "offset:603 glc slc tfe", 0xe000425bU, 0x23d43d12U, true, true, "" },
     2906    { "buffer_load_format_x v[61:62], v[18:19], s[80:83], s35 offen idxen offset:603 "
     2907        "glc slc dlc tfe\n", 0xe000f25bU, 0x23d43d12U, true, true, "" },
     2908    { "buffer_load_format_x v61, v[18:19], s[80:83], s35 offen idxen offset:603 "
     2909        "glc dlc lds\n", 0xe001f25bU, 0x23143d12U, true, true, "" },
     2910    { "buffer_load_format_x v61, v[18:19], s[80:83], s35 offen idxen offset:603 "
     2911        "glc lds\n", 0xe001725bU, 0x23143d12U, true, true, "" },
     2912    /* parametrization with values higher than 1 */
     2913    { "    buffer_load_format_x  v61, v[18:19], s[80:83], s35 "
     2914        "offset:603 glc:132 slc:771 offen:-1 idxen:-1 lds:-1",
     2915        0xe001725bU, 0x23543d12U, true, true, "" },
     2916    { "    buffer_load_format_x  v[61:62], v[18:19], s[80:83], s35 "
     2917        "offset:603 glc slc idxen offen lds tfe", 0, 0, false, false,
     2918        "test.s:1:5: Error: Both LDS and TFE is illegal\n" },
     2919    { "buffer_load_format_x v61, v[18:19], s[80:83], s35 offen idxen offset:603",
     2920        0xe000325bU, 0x23143d12U, true, true, "" },
     2921    { "buffer_load_format_x v61, v[18:19], s[80:83], s35 offen idxen offset:603 lds",
     2922        0xe001325bU, 0x23143d12U, true, true, "" },
     2923    { "buffer_load_format_x v61, v[18:19], s[80:83], s35 offen idxen offset:603 dlc",
     2924        0xe000b25bU, 0x23143d12U, true, true, "" },
     2925    { "buffer_load_format_x v61, v[18:19], s[80:83], s35 offen idxen offset:603 glc",
     2926        0xe000725bU, 0x23143d12U, true, true, "" },
     2927    { "buffer_load_format_x v61, v[18:19], s[80:83], s35 offen idxen offset:603 slc",
     2928        0xe000325bU, 0x23543d12U, true, true, "" },
     2929    { "buffer_load_format_x v[61:62], v[18:19], s[80:83], s35 offen idxen offset:603 tfe",
     2930        0xe000325bU, 0x23943d12U, true, true, "" },
    29032931    { nullptr, 0, 0, false, false, 0 }
    29042932};
Note: See TracChangeset for help on using the changeset viewer.