Changeset 4852 in CLRX


Ignore:
Timestamp:
Jul 26, 2019, 7:17:43 PM (3 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add MUBUF encoding testcases for GFX10. Add testcase for MUBUF for VEGA.

Location:
CLRadeonExtender/trunk/tests/amdasm
Files:
2 edited

Legend:

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

    r4813 r4852  
    12971297    { "    buffer_load_format_x v61, v18, s[80:83], s35 idxen offset:603 addr",
    12981298        0, 0, false, false, "test.s:1:67: Error: Unknown MUBUF modifier\n" },
     1299    { "    buffer_load_format_x v61, v18, s[80:83], s35 idxen offset:603 addr64",
     1300        0, 0, false, false, "test.s:1:67: Error: Unknown MUBUF modifier\n" },
    12991301    { "    buffer_load_format_x v61, v18, s[80:83], 3435 idxen offset:603",
    13001302        0, 0, false, false, "test.s:1:46: Error: Literal in MUBUF is illegal\n" },
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpc15.cpp

    r4851 r4852  
    29292929    { "buffer_load_format_x v[61:62], v[18:19], s[80:83], s35 offen idxen offset:603 tfe",
    29302930        0xe000325bU, 0x23943d12U, true, true, "" },
     2931    { "    buffer_load_format_x  v[61:62], v18, s[80:83], s35 offen "
     2932        "offset:603 glc slc tfe", 0xe000525bU, 0x23d43d12U, true, true, "" },
     2933    { "    buffer_load_format_x  v[61:62], v18, s[80:83], s35 idxen "
     2934        "offset:603 glc slc tfe", 0xe000625bU, 0x23d43d12U, true, true, "" },
     2935    { "    buffer_load_format_x  v[61:62], v[18:19], s[80:83], s35 offen idxen "
     2936        "offset:603 glc slc tfe", 0xe000725bU, 0x23d43d12U, true, true, "" },
     2937    { "    buffer_load_format_x  v[61:62], v18, s[80:83], s35 offen glc slc tfe",
     2938        0xe0005000U, 0x23d43d12U, true, true, "" },
     2939    { "x=34; y=51; buffer_load_format_x  v[61:62], v18, s[80:83], s35 offen "
     2940        "offset:x+y glc slc tfe", 0xe0005055U, 0x23d43d12U, true, true, "" },
     2941    { "buffer_load_format_x  v[61:62], v18, s[80:83], s35 offen "
     2942        "offset:x+y glc slc tfe; x=36; y=51", 0xe0005057U, 0x23d43d12U, true, true, "" },
     2943    { "buffer_load_format_x v[61:62], v[18:19], s[80:83], s35 offen idxen "
     2944        "glc dlc tfe\n", 0xe000f000U, 0x23943d12U, true, true, "" },
     2945    { "    buffer_load_format_x  v[61:62], v18, s[80:83], s35 offen "
     2946        "offset:5821 glc slc tfe", 0xe00056bdU, 0x23d43d12U, true, true,
     2947        "test.s:1:69: Warning: Value 0x16bd truncated to 0x6bd\n" },
     2948    { "    buffer_load_format_x  v[61:62], v18, s[80:83], s35 offen offset:603 "
     2949        "offset:884 glc slc tfe", 0xe0005374U, 0x23d43d12U, true, true,
     2950        "test.s:1:73: Warning: Offset is already defined\n" },
     2951    /* MUBUF errors */
     2952    { "    buffer_load_format_x  v[61:62], v[18:19], s[80:83], s35 addr64 "
     2953        "offset:603 glc slc tfe", 0, 9, false, false,
     2954        "test.s:1:61: Error: Unknown MUBUF modifier\n"
     2955        "test.s:1:37: Error: Required 1 vector register\n" },
     2956    { "    buffer_load_format_x v61, v18, s[80:83], 3435 idxen offset:603",
     2957        0, 0, false, false, "test.s:1:46: Error: Literal in MUBUF is illegal\n" },
     2958    { "    buffer_load_format_x v61, v18, s[80:83], xx idxen offset:603",
     2959        0, 0, false, false, "test.s:1:46: Error: Literal in MUBUF is illegal\n" },
    29312960    { nullptr, 0, 0, false, false, 0 }
    29322961};
Note: See TracChangeset for help on using the changeset viewer.