Changeset 1736 in CLRX


Ignore:
Timestamp:
Nov 20, 2015, 8:35:49 PM (5 years ago)
Author:
matszpk
Message:

CLRadeonExtender: Revert last changes on GCNAssembler.cpp (two SGPR are illegal for V_WRITELANE_B32).

File:
1 edited

Legend:

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

    r1735 r1736  
    965965        sgprsReaded++;
    966966   
    967     if (gcnInsn.code1!=2 /* if no v_writelane_b32 */ && sgprsReaded >= 2)
     967    if (sgprsReaded >= 2)
    968968    {   /* include VCCs (???) */
    969969        asmr.printError(instrPlace, "More than one SGPR to read in instruction");
     
    15571557            numSgprToRead++;
    15581558       
    1559         if ((!isGCN12 || gcnInsn.code1!=650 /* if not v_write_lane_b32 */) &&
    1560             numSgprToRead>=2)
     1559        if (numSgprToRead>=2)
    15611560        {
    15621561            asmr.printError(instrPlace, "More than one SGPR to read in instruction");
Note: See TracChangeset for help on using the changeset viewer.