Changeset 4024 in CLRX


Ignore:
Timestamp:
Apr 18, 2018, 9:49:54 PM (5 months ago)
Author:
matszpk
Message:

CLRadeonExtender: Set equalToDeps[0] always (avoid valgrind warnings). Add 'isNext' field to ReadPos? (position of UsageHandler?).

Location:
CLRadeonExtender/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/CLRX/amdasm/Assembler.h

    r4023 r4024  
    7777        uint16_t pushedArgs;    ///< pushed argds number
    7878        bool useRegMode;        ///< true if in usereg mode
     79        bool isNext;            ///< isNext
    7980    };
    8081protected:
     
    125126    {
    126127        return { readOffset, instrStructPos, regUsagesPos, regUsages2Pos,
    127             regVarUsagesPos, pushedArgs, useRegMode };
     128            regVarUsagesPos, pushedArgs, useRegMode, isNext };
    128129    }
    129130    /// set reading position
     
    137138        pushedArgs = rpos.pushedArgs;
    138139        useRegMode = rpos.useRegMode;
     140        isNext = rpos.isNext;
    139141    }
    140142   
  • CLRadeonExtender/trunk/amdasm/AsmRegAlloc.cpp

    r4023 r4024  
    10111011   
    10121012    size_t curLiveTime = 0;
     1013    flowStack.push_back({ 0, 0 });
    10131014   
    10141015    while (!flowStack.empty())
  • CLRadeonExtender/trunk/amdasm/GCNAssembler.cpp

    r3579 r4024  
    316316{
    317317    cxuint count = 0;
     318    equalToDeps[0] = 0;
    318319    if (rvus[0].regField>=GCNFIELD_VOP_SRC0 && rvus[0].regField<=GCNFIELD_VOP3_SDST1)
    319320    {
Note: See TracChangeset for help on using the changeset viewer.