Ignore:
Timestamp:
Nov 27, 2012, 8:09:29 AM (6 years ago)
Author:
cameron
Message:

Fixes for advance_n support in experimental mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • proto/Compiler/CCGO.py

    r2697 r2698  
    112112        adv_index = self.advIndex[operation_no - self.operation_offset]
    113113        cq_index = adv_index + self.carry_count
    114         return [ast.Assign([ast.Subscript(self.CarryGroupAtt('cq'), ast.Index(ast.Num(cq_index)), ast.Store())], adv_out_expr)]
    115 #                          mkCall("bitblock::srli<127>", [carry_out_expr]))]
     114        return [ast.Assign([ast.Subscript(self.CarryGroupAtt('cq'), ast.Index(ast.Num(cq_index)), ast.Store())],
     115                           mkCall("bitblock::srli<64>", [adv_out_expr]))]
    116116    def GenerateCarryIfTest(self, block_no, ifTest):
    117117        carry_count = self.carryInfoSet.block_op_count[block_no]
Note: See TracChangeset for help on using the changeset viewer.