| 46 | |
| 47 | template<class cgf2n> |
| 48 | void Instruction::gbitcom(StackedVector<cgf2n>& registers) const |
| 49 | { |
| 50 | for (int j = 0; j < size; j++) |
| 51 | { |
| 52 | typename cgf2n::internal_type a = 0; |
| 53 | for (unsigned int i = 0; i < start.size(); i++) |
| 54 | { |
| 55 | a ^= registers.at(start[i] + j).get() << (i * n); |
| 56 | } |
| 57 | registers.at(r[0] + j) = a; |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | void Instruction::execute_regint(ArithmeticProcessor& Proc, MemoryPart<Integer>& Mi) const |
| 62 | { |