Changeset 3754 in CLRX


Ignore:
Timestamp:
Feb 7, 2018, 9:39:32 PM (15 months ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: Do not set local size field in PGMRSRC2 if new binary format.

Location:
CLRadeonExtender/trunk
Files:
2 edited

Legend:

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

    r3751 r3754  
    24562456                            userSGPRsNum, false, config.dimMask,
    24572457                            (config.computePgmRsrc2 & 0x1b80U), config.tgSize,
    2458                             config.workgroupGroupSegmentSize, config.exceptions);
     2458                            (output.newBinFormat ? 0 : config.workgroupGroupSegmentSize),
     2459                            config.exceptions);
    24592460       
    24602461        if (config.wavefrontSgprCount == BINGEN16_DEFAULT)
  • CLRadeonExtender/trunk/tests/amdasm/AsmROCmFormat.cpp

    r3751 r3754  
    714714      maxScrachBackingMemorySize=0
    715715      computePgmRsrc1=0x3c0040
    716       computePgmRsrc2=0xa008081
     716      computePgmRsrc2=0xa000081
    717717      enableSgprRegisterFlags=0x0
    718718      enableFeatureFlags=0x6
     
    745745  Code:
    746746  0100000000000000010008000000030000010000000000000000000000000000
    747   0000000000000000000000000000000040003c008180000a00000600a62d0100
     747  0000000000000000000000000000000040003c008100000a00000600a62d0100
    748748  16000000640000000000000000000000fc0c00000a00010007000b0009000400
    749749  6000620005040706ac4d03000000000000000000000000003a8bc94d00000000
Note: See TracChangeset for help on using the changeset viewer.