Changeset 4976 in CLRX


Ignore:
Timestamp:
Sep 19, 2019, 3:16:14 PM (4 weeks ago)
Author:
matszpk
Message:

CLRadeonExtender: AsmROCm: Add some missing pseudo-ops to ROCm format handling.

File:
1 edited

Legend:

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

    r4975 r4976  
    4444    "eflags", "exceptions", "fixed_work_group_size",
    4545    "fkernel", "floatmode", "gds_segment_size",
    46     "globaldata", "gotsym", "group_segment_align", "ieeemode", "kcode",
     46    "globaldata", "gotsym", "group_segment_align",
     47    "group_segment_fixed_size", "ieeemode", "kcode",
    4748    "kcodeend", "kernarg_segment_align",
    4849    "kernarg_segment_size", "kernel_code_entry_offset",
    4950    "kernel_code_prefetch_offset", "kernel_code_prefetch_size",
    50     "llvmbinfmt", "localsize", "machine",
     51    "llvm10binfmt", "localsize", "machine",
    5152    "max_flat_work_group_size", "max_scratch_backing_memory",
    5253    "md_group_segment_fixed_size", "md_kernarg_segment_align",
     
    5758    "pgmrsrc1", "pgmrsrc2", "pgmrsrc3", "printf", "priority",
    5859    "private_elem_size", "private_segment_align",
    59     "privmode", "reqd_work_group_size",
     60    "private_segment_fixed_size", "privmode", "reqd_work_group_size",
    6061    "reserved_sgprs", "reserved_vgprs",
    6162    "runtime_handle", "runtime_loader_kernel_symbol",
     
    8485    ROCMOP_EFLAGS, ROCMOP_EXCEPTIONS, ROCMOP_FIXED_WORK_GROUP_SIZE, ROCMOP_FKERNEL,
    8586    ROCMOP_FLOATMODE, ROCMOP_GDS_SEGMENT_SIZE, ROCMOP_GLOBALDATA, ROCMOP_GOTSYM,
    86     ROCMOP_GROUP_SEGMENT_ALIGN, ROCMOP_IEEEMODE, ROCMOP_KCODE,
     87    ROCMOP_GROUP_SEGMENT_ALIGN, ROCMOP_GROUP_SEGMENT_FIXED_SIZE,
     88    ROCMOP_IEEEMODE, ROCMOP_KCODE,
    8789    ROCMOP_KCODEEND, ROCMOP_KERNARG_SEGMENT_ALIGN,
    8890    ROCMOP_KERNARG_SEGMENT_SIZE, ROCMOP_KERNEL_CODE_ENTRY_OFFSET,
    8991    ROCMOP_KERNEL_CODE_PREFETCH_OFFSET, ROCMOP_KERNEL_CODE_PREFETCH_SIZE,
    90     ROCMOP_LLVMBINFMT, ROCMOP_LOCALSIZE, ROCMOP_MACHINE,
     92    ROCMOP_LLVM10BINFMT, ROCMOP_LOCALSIZE, ROCMOP_MACHINE,
    9193    ROCMOP_MAX_FLAT_WORK_GROUP_SIZE, ROCMOP_MAX_SCRATCH_BACKING_MEMORY,
    9294    ROCMOP_MD_GROUP_SEGMENT_FIXED_SIZE, ROCMOP_MD_KERNARG_SEGMENT_ALIGN,
     
    9799    ROCMOP_PGMRSRC1, ROCMOP_PGMRSRC2, ROCMOP_PGMRSRC3, ROCMOP_PRINTF,
    98100    ROCMOP_PRIORITY, ROCMOP_PRIVATE_ELEM_SIZE, ROCMOP_PRIVATE_SEGMENT_ALIGN,
    99     ROCMOP_PRIVMODE, ROCMOP_REQD_WORK_GROUP_SIZE,
     101    ROCMOP_PRIVATE_SEGMENT_FIXED_SIZE, ROCMOP_PRIVMODE, ROCMOP_REQD_WORK_GROUP_SIZE,
    100102    ROCMOP_RESERVED_SGPRS, ROCMOP_RESERVED_VGPRS,
    101103    ROCMOP_RUNTIME_HANDLE, ROCMOP_RUNTIME_LOADER_KERNEL_SYMBOL,
     
    20482050                             ROCMCVAL_KERNEL_CODE_PREFETCH_SIZE);
    20492051            break;
    2050         case ROCMOP_LLVMBINFMT:
     2052        case ROCMOP_LLVM10BINFMT:
    20512053            AsmROCmPseudoOps::setLLVM10BinFormat(*this, linePtr);
    20522054            break;
     
    22692271                             ROCMCVAL_WORKGROUP_FBARRIER_COUNT);
    22702272            break;
     2273        case ROCMOP_GROUP_SEGMENT_FIXED_SIZE:
    22712274        case ROCMOP_WORKGROUP_GROUP_SEGMENT_SIZE:
    22722275            AsmROCmPseudoOps::setConfigValue(*this, stmtPlace, linePtr,
    22732276                             ROCMCVAL_WORKGROUP_GROUP_SEGMENT_SIZE);
    22742277            break;
     2278        case ROCMOP_PRIVATE_SEGMENT_FIXED_SIZE:
    22752279        case ROCMOP_WORKITEM_PRIVATE_SEGMENT_SIZE:
    22762280            AsmROCmPseudoOps::setConfigValue(*this, stmtPlace, linePtr,
Note: See TracChangeset for help on using the changeset viewer.