Ignore:
Timestamp:
Jan 6, 2011, 3:06:20 PM (9 years ago)
Author:
ksherdy
Message:

Add call to bitblock_prefix_parity to avoid manual insertion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/JSON/json_pablo_compilable.py

    r869 r872  
    254254        ### Start parse_escape
    255255        #
    256         # Odd = simd_const_2(1) -> parity.Odd, since 'Odd' will be defined as a member of the Parity struct
    257         # Even = simd_const_2(2) -> parity.Even, since 'Even' will be defined as a member of the Parity Struct
     256        # parity.Odd = simd_const_2(1) -> parity.Odd, since 'Odd' will be defined as a member of the Parity struct
     257        # parity.Even = simd_const_2(2) -> parity.Even, since 'Even' will be defined as a member of the Parity Struct
     258       
     259       
    258260        Start = lex.RSolidus &~ bitutil.Advance(lex.RSolidus)
    259261       
     
    272274       
    273275        ### parallel_prefix_mask() --- we currently manually insert this method into the JSON template.c
     276        # A hack to avoid the need for manual insertion of parity.ParityMask generation
     277        parity.ParityMask = bitblock_parallel_prefix_parity(UnescapedDQuotes, bitblock_parity_mask);
     278        parity.ParityMask = simd_and(parity.ParityMask, EOF_mask);     
    274279       
    275280        ### Start Generate String Mask ---
Note: See TracChangeset for help on using the changeset viewer.