Ignore:
Timestamp:
Nov 21, 2016, 6:14:11 PM (4 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Asm: Fixed '.32bit' and '.64bit' pseudo-op handling.

File:
1 edited

Legend:

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

    r2584 r2585  
    168168    if (asmr.formatHandler != nullptr)
    169169        asmr.printError(linePtr, "Bitness is already defined");
     170    else if (asmr.format == BinaryFormat::AMDCL2 && asmr.format == BinaryFormat::ROCM)
     171    {
     172        if (!_64Bit)
     173            asmr.printWarning(linePtr, "For AmdCL2 and ROCm bitness is always 64bit");
     174    }
    170175    else if (asmr.format != BinaryFormat::AMD && asmr.format != BinaryFormat::GALLIUM)
    171176        asmr.printWarning(linePtr, "Bitness ignored for other formats than "
    172                 "AMD Catalyst and GalliumCompute");
     177                "AMD Catalyst, ROCm and GalliumCompute");
    173178    else
    174         asmr._64bit = (_64Bit);   
     179        asmr._64bit = (_64Bit);
    175180}
    176181
Note: See TracChangeset for help on using the changeset viewer.