Ignore:
Timestamp:
May 29, 2017, 6:53:28 AM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Add parametrizable modifers: abs, neg, sext.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CLRadeonExtender/trunk/amdasm/GCNAsmInternals.h

    r3095 r3096  
    138138    bool needSDWA;
    139139    bool needDPP;
     140};
     141
     142struct CLRX_INTERNAL VOPOpModifiers
     143{
    140144    cxbyte absMod;
    141145    cxbyte negMod;
     146    cxbyte sextMod;
    142147};
    143148
     
    205210     * (includes destination at begin) */
    206211    static bool parseVOPModifiers(Assembler& asmr, const char*& linePtr, uint16_t arch,
    207                        cxbyte& mods, VOPExtraModifiers* extraMods = nullptr,
    208                        bool withClamp = true, cxuint withSDWAOperands = 3);
     212                       cxbyte& mods, VOPOpModifiers& opMods,
     213                       VOPExtraModifiers* extraMods = nullptr, bool withClamp = true,
     214                       cxuint withSDWAOperands = 3);
    209215   
    210216    static bool parseOperand(Assembler& asmr, const char*& linePtr, GCNOperand& operand,
Note: See TracChangeset for help on using the changeset viewer.