Changeset 4868 in CLRX


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

CLRadeonExtender: GCNAsm: First FLAT testcases for GFX10. Set SADDR field to NULL for FLAT encoding for GFX10.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/GCNAsmEncode2.cpp

    r4867 r4868  
    11061106        }
    11071107    }
     1108    else if (isGCN15)
     1109        saddrReg = { 125, 125 };
    11081110   
    11091111    if (addrRegsNum == 0)
  • CLRadeonExtender/trunk/tests/amdasm/GCNAsmOpc15.cpp

    r4866 r4868  
    32323232    { "exp  param, v116, v93, v27, v124 done vm", 0, 0, false, false,
    32333233        "test.s:1:6: Error: Missing number\n" },
     3234    /* FLAT encoding */
     3235    { "flat_load_ubyte v47, v[187:188] glc slc",
     3236        0xdc230000U, 0x2f7d00bbU, true, true, "" },
     3237    { "flat_load_ubyte v47, v[187:188] glc", 0xdc210000U, 0x2f7d00bbU, true, true, "" },
     3238    { "flat_load_ubyte v47, v[187:188] glc   ", 0xdc210000U, 0x2f7d00bbU, true, true, "" },
     3239    { "flat_load_ubyte v47, v[187:188]", 0xdc200000U, 0x2f7d00bbU, true, true, "" },
     3240    { "flat_load_ubyte v47, v[187:188]   ", 0xdc200000U, 0x2f7d00bbU, true, true, "" },
     3241    { "flat_load_ubyte " "v47, v[187:188] glc slc\n",
     3242        0xdc230000U, 0x2f7d00bbU, true, true, "" },
     3243    { "flat_load_ubyte v47, v[187:188] slc\n", 0xdc220000U, 0x2f7d00bbU, true, true, "" },
     3244    /* FLAT errors */
     3245    { "flat_load_ubyte v47, v[187:188] glc slcx", 0, 0, false, false,
     3246        "test.s:1:37: Error: Unknown FLAT modifier\n" },
     3247    { "flat_load_ubyte v[47:48], v[187:188] glc", 0, 0, false, false,
     3248        "test.s:1:17: Error: Required 1 vector register\n" },
    32343249    { nullptr, 0, 0, false, false, 0 }
    32353250};
Note: See TracChangeset for help on using the changeset viewer.