Changeset 4975 in CLRX


Ignore:
Timestamp:
Sep 19, 2019, 2:19:42 PM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: Fixed checking shared VGPRs number while setting PGMRSRC3.

File:
1 edited

Legend:

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

    r4974 r4975  
    25482548        if (config.sharedVGPRsNum != BINGEN_DEFAULT)
    25492549            sharedVgprsNum = config.sharedVGPRsNum;
    2550         if (sharedVgprsNum + vgprsNum > 256)
     2550        if (((vgprsNum+7)&~7) + sharedVgprsNum > 256)
    25512551        {
    25522552            assembler.printError(AsmSourcePos(), (std::string(
Note: See TracChangeset for help on using the changeset viewer.