Changeset 3003


Ignore:
Timestamp:
Apr 6, 2013, 5:05:00 PM (4 years ago)
Author:
cameron
Message:

pablo.atEOF() tests only the immedidate EOF position

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/pablo.py

    r3002 r3003  
    384384        # Non final block: atEOF(x) = 0.
    385385        return mkCall('simd<1>::constant<0>', [])
    386       else: return mkCall('simd_andc', [callnode.args[0], ast.Name('EOF_mask', ast.Load())])
     386      else: return mkCall('simd_and', [mkCall('simd_andc', [callnode.args[0], ast.Name('EOF_mask', ast.Load())]),
     387                                       mkCall('bitblock::slli<1>', [ast.Name('EOF_mask', ast.Load())])])
    387388    elif is_BuiltIn_Call(callnode, 'inFile', 1):
    388389      if self.carryout != "": 
     
    439440            return compiled
    440441    elif isAdvance(f):
    441             self.generic_visit(assigNode)
    442442            if self.carryin == "_ci":
    443443                carry_in_expr = self.ccgo.GenerateAdvanceInAccess(self.operation_count)
Note: See TracChangeset for help on using the changeset viewer.