Changeset 3114 in CLRX


Ignore:
Timestamp:
May 31, 2017, 5:18:18 PM (17 months ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNDisasm: Fixed nv flag encoding when FLATMODE!=0 (AMD VEGA arch).

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

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

    r3113 r3114  
    26752675    if (insnCode & 0x20000U)
    26762676        putChars(bufPtr, " slc", 4);
    2677     if (flatMode==0 && insnCode2 & 0x800000U)
     2677    if (insnCode2 & 0x800000U)
    26782678    {
    26792679        if (!isGCN14)
  • CLRadeonExtender/trunk/tests/amdasm/GCNDisasmOpc14.cpp

    r3113 r3114  
    509509        "        scratch_load_ubyte v47, off, s49 glc slc\n" },
    510510    { 0xdc434000U, 0x2fff00bbU, true,
     511        "        scratch_load_ubyte v47, v187, off glc slc nv\n" },
     512    { 0xdc434000U, 0x2f7f00bbU, true,
    511513        "        scratch_load_ubyte v47, v187, off glc slc\n" },
    512514    { 0xdc434413U, 0x2fff00bbU, true,
    513         "        scratch_load_ubyte v47, v187, off inst_offset:1043 glc slc\n" },
     515        "        scratch_load_ubyte v47, v187, off inst_offset:1043 glc slc nv\n" },
    514516    { 0xdc435413U, 0x2fff00bbU, true,
    515         "        scratch_load_ubyte v47, v187, off inst_offset:-3053 glc slc\n" },
     517        "        scratch_load_ubyte v47, v187, off inst_offset:-3053 glc slc nv\n" },
    516518    { 0xdc435000U, 0x2fff00bbU, true,
    517         "        scratch_load_ubyte v47, v187, off inst_offset:-4096 glc slc\n" },
     519        "        scratch_load_ubyte v47, v187, off inst_offset:-4096 glc slc nv\n" },
    518520    /* FLAT SCRATCH instructions */
    519521    { 0xdc474000U, 0x2f3100bbU, true,
     
    563565        "        global_load_ubyte v47, v[187:188], s[49:50] glc slc\n" },
    564566    { 0xdc438000U, 0x2fff00bbU, true,
    565         "        global_load_ubyte v47, v[187:188], off glc slc\n" },
     567        "        global_load_ubyte v47, v[187:188], off glc slc nv\n" },
    566568    { 0xdc438000U, 0x2f7f00bbU, true,
    567569        "        global_load_ubyte v47, v[187:188], off glc slc\n" },
Note: See TracChangeset for help on using the changeset viewer.