Lib/Source/Functions.cpp
/**
 * Sum up all the vector elements of a register.
 *
 * All vector elements of register result will contain the same value.
 */
Sum up all the vector elements of a register.
All vector elements of register result will contain the same value.
Sum up all the vector elements of a register . All vector elements of register result will contain the same value .
void rotate_sum(Int &input, Int &result) {
  result = input;              comment("rotate_sum");
  result += rotate(result, 1);
  result += rotate(result, 2);
  result += rotate(result, 4);
  result += rotate(result, 8);
}
void rotate_sum ( Int & input , Int & result ) { result = input ; comment ( " " ) ; result += rotate ( result , 1 ) ; result += rotate ( result , 2 ) ; result += rotate ( result , 4 ) ; result += rotate ( result , 8 ) ; }
Sum up all the vector elements of a register.
Sum up all the vector elements of a register .