Changeset 3741 in CLRX


Ignore:
Timestamp:
Feb 7, 2018, 5:18:50 PM (15 months ago)
Author:
matszpk
Message:

CLRadeonExtender: ROCm: Replace '.md_spilledsgprs' and '.md_spilledvgprs' by '.spilledsgprs' and '.spilledvgprs'.

Location:
CLRadeonExtender/trunk/amdasm
Files:
2 edited

Legend:

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

    r3740 r3741  
    5252    "md_group_segment_fixed_size", "md_kernarg_segment_align",
    5353    "md_kernarg_segment_size", "md_language","md_private_segment_fixed_size",
    54     "md_sgprsnum", "md_spilledsgprs", "md_spilledvgprs",
    55     "md_symname", "md_version", "md_vgprsnum", "md_wavefront_size",
     54    "md_sgprsnum", "md_symname", "md_version",
     55    "md_vgprsnum", "md_wavefront_size",
    5656    "metadata", "newbinfmt", "pgmrsrc1", "pgmrsrc2", "printf", "priority",
    5757    "private_elem_size", "private_segment_align",
     
    5959    "reserved_sgprs", "reserved_vgprs",
    6060    "runtime_handle", "runtime_loader_kernel_symbol",
    61     "scratchbuffer", "sgprsnum", "target", "tgsize", "tripple",
     61    "scratchbuffer", "sgprsnum",
     62    "spilledsgprs", "spilledvgprs", "target", "tgsize", "tripple",
    6263    "use_debug_enabled", "use_dispatch_id",
    6364    "use_dispatch_ptr", "use_dynamic_call_stack",
     
    9091    ROCMOP_MD_GROUP_SEGMENT_FIXED_SIZE, ROCMOP_MD_KERNARG_SEGMENT_ALIGN,
    9192    ROCMOP_MD_KERNARG_SEGMENT_SIZE, ROCMOP_MD_LANGUAGE,
    92     ROCMOP_MD_PRIVATE_SEGMENT_FIXED_SIZE,
    93     ROCMOP_MD_SGPRSNUM, ROCMOP_MD_SPILLEDSGPRS, ROCMOP_MD_SPILLEDVGPRS,
     93    ROCMOP_MD_PRIVATE_SEGMENT_FIXED_SIZE, ROCMOP_MD_SGPRSNUM,
    9494    ROCMOP_MD_SYMNAME, ROCMOP_MD_VERSION, ROCMOP_MD_VGPRSNUM, ROCMOP_MD_WAVEFRONT_SIZE,
    9595    ROCMOP_METADATA, ROCMOP_NEWBINFMT, ROCMOP_PGMRSRC1, ROCMOP_PGMRSRC2, ROCMOP_PRINTF,
     
    9898    ROCMOP_RESERVED_SGPRS, ROCMOP_RESERVED_VGPRS,
    9999    ROCMOP_RUNTIME_HANDLE, ROCMOP_RUNTIME_LOADER_KERNEL_SYMBOL,
    100     ROCMOP_SCRATCHBUFFER, ROCMOP_SGPRSNUM,
     100    ROCMOP_SCRATCHBUFFER, ROCMOP_SGPRSNUM, ROCMOP_SPILLEDSGPRS, ROCMOP_SPILLEDVGPRS,
    101101    ROCMOP_TARGET, ROCMOP_TGSIZE, ROCMOP_TRIPPLE,
    102102    ROCMOP_USE_DEBUG_ENABLED, ROCMOP_USE_DISPATCH_ID,
     
    20052005                            ROCMCVAL_MD_PRIVATE_SEGMENT_FIXED_SIZE);
    20062006            break;
    2007         case ROCMOP_MD_SPILLEDSGPRS:
     2007        case ROCMOP_SPILLEDSGPRS:
    20082008            AsmROCmPseudoOps::setConfigValue(*this, stmtPlace, linePtr,
    20092009                            ROCMCVAL_MD_SPILLEDSGPRS);
    20102010            break;
    2011         case ROCMOP_MD_SPILLEDVGPRS:
     2011        case ROCMOP_SPILLEDVGPRS:
    20122012            AsmROCmPseudoOps::setConfigValue(*this, stmtPlace, linePtr,
    20132013                            ROCMCVAL_MD_SPILLEDVGPRS);
  • CLRadeonExtender/trunk/amdasm/DisasmROCm.cpp

    r3733 r3741  
    639639    if (hasValue(kernel.spilledSgprs))
    640640    {
    641         bufSize = snprintf(buf, 100, "        .md_spilledsgprs %u\n",
     641        bufSize = snprintf(buf, 100, "        .spilledsgprs %u\n",
    642642                           kernel.spilledSgprs);
    643643        output.write(buf, bufSize);
     
    645645    if (hasValue(kernel.spilledVgprs))
    646646    {
    647         bufSize = snprintf(buf, 100, "        .md_spilledvgprs %u\n",
     647        bufSize = snprintf(buf, 100, "        .spilledvgprs %u\n",
    648648                           kernel.spilledVgprs);
    649649        output.write(buf, bufSize);
Note: See TracChangeset for help on using the changeset viewer.