Changeset 60


Ignore:
Timestamp:
Feb 27, 2008, 5:09:06 PM (11 years ago)
Author:
cameron
Message:

Digit/Hex? fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bitlex.c

    r59 r60  
    330330#ifdef DIGIT_AND_HEX_ITEMS
    331331        BitBlock temp35 = simd_or(bit[5], bit[6]);
    332         BitBlock temp36 = simd_andc(temp35, bit[4]);
     332        BitBlock temp36 = simd_and(bit[4], temp35);
    333333        BitBlock Digit = simd_andc(temp3, temp36);
    334334        BitBlock temp37 = simd_or(bit[2], bit[3]);
     
    336336        BitBlock temp39 = simd_andc(temp38, bit[4]);
    337337        BitBlock temp40 = simd_andc(simd_const_1(1), temp20);
    338         BitBlock temp41 = simd_if(bit[5], temp5, temp40);
     338        BitBlock temp41 = simd_if(bit[5], temp40, temp5);
    339339        BitBlock temp42 = simd_and(temp39, temp41);
    340340        BitBlock temp43 = simd_or(Digit, temp42);
     
    453453        LexItem[NonDigit] = simd_not(Digit);
    454454        LexItem[NonHex] = simd_not(Hex);
     455
    455456#endif 
    456457       
Note: See TracChangeset for help on using the changeset viewer.