Changeset 3116 in CLRX


Ignore:
Timestamp:
Jun 1, 2017, 5:35:02 PM (2 years ago)
Author:
matszpk
Message:

CLRadeonExtender: GCNAsm: Small fix in parsing '-cut' in sendmsg.

File:
1 edited

Legend:

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

    r3115 r3116  
    10651065                        if (gsopIndex==2 && gsopNameIndex==0)
    10661066                        {   /* 'emit-cut' handling */
    1067                             if (linePtr+4<end && ::strncmp(linePtr, "-cut", 4)==0 &&
     1067                            if (linePtr+4<=end && ::strncasecmp(linePtr, "-cut", 4)==0 &&
    10681068                                (linePtr==end || (!isAlnum(*linePtr) && *linePtr!='_' &&
    10691069                                *linePtr!='$' && *linePtr!='.')))
Note: See TracChangeset for help on using the changeset viewer.