Ignore:
Timestamp:
Nov 10, 2017, 12:07:28 PM (17 months ago)
Author:
cameron
Message:

Generic indexed advance

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_compiler.cpp

    r5724 r5730  
    413413            return makeMarker(MarkerPosition::FinalMatchUnit, pb.createAnd(marker_fwd, cc_lb, "lowerbound"));
    414414        }
    415         else if (isUnicodeUnitLength(repeated) && AVX2_available()) {
     415        else if (isUnicodeUnitLength(repeated)) {
    416416            PabloAST * cc = markerVar(compile(repeated, pb));
    417417            PabloAST * cc_lb = consecutive_matches(cc, 1, lb, mFinal, pb);
     
    420420            return makeMarker(MarkerPosition::FinalMatchUnit, pb.createAnd(marker_fwd, cc_lb, "lowerbound"));
    421421        }
    422         else if (isTypeForLocal(repeated) && AVX2_available()) {
     422        else if (isTypeForLocal(repeated)) {
    423423            CC * firstSymSet = RE_Local::first(repeated);
    424424            std::map<CC *, CC*> followMap;
     
    491491            return makeMarker(MarkerPosition::FinalPostPositionUnit, bounded);
    492492        }
    493         else if (isUnicodeUnitLength(repeated) && AVX2_available()) {
     493        else if (isUnicodeUnitLength(repeated)) {
    494494            // For a regexp which represent a single Unicode codepoint, we can use the mFinal stream
    495495            // as an index stream for an indexed advance operation.
     
    500500            return makeMarker(MarkerPosition::FinalPostPositionUnit, bounded);
    501501        }
    502         else if (isTypeForLocal(repeated) && AVX2_available()) {
     502        else if (isTypeForLocal(repeated)) {
    503503            CC * firstSymSet = RE_Local::first(repeated);
    504504            std::map<CC *, CC*> followMap;
Note: See TracChangeset for help on using the changeset viewer.