pub enum Operations {
Show 14 variants
Mul6464NoSum = 1,
Mul6464Sum = 2,
Mul6464FullSum = 3,
Mul6464Reduce = 4,
Add64 = 8,
Sub64 = 9,
Double64 = 10,
Xor64 = 11,
ShiftLeft32 = 16,
ShiftRight32 = 17,
Copy = 20,
Remask = 21,
Compare = 22,
CompareFast = 23,
}Variants§
Mul6464NoSum = 1
Walking 1 or more of J loop, doing r=a*b using 64x64=128
Mul6464Sum = 2
Walking 1 or more of J loop, doing c,r=r+a*b using 64x64=128, but assume inner j loop
Mul6464FullSum = 3
Walking 1 or more of J loop, doing c,r=r+a*b using 64x64=128, but sum all of w.
Mul6464Reduce = 4
Walking 1 or more of J loop, doing c,r[-1]=r+a*b using 64x64=128, but skip 1st write
Add64 = 8
Walking add with off_AB, and in/out off_RES doing c,r=r+a+c using 64+64=65
Sub64 = 9
Walking subtract with off_AB, and in/out off_RES doing r=r-a uding 64-64=64, with last borrow implicit if any
Double64 = 10
Walking add to self with off_RES doing c,r=r+r+c using 64+64=65
Xor64 = 11
Walking XOR with off_AB, and in/out off_RES doing r=r^a using 64^64=64
ShiftLeft32 = 16
Walking shift left doing r1,r=(b*D)|r1, where D is 2^amt and is loaded by app (off_CD not used)
ShiftRight32 = 17
Walking shift right doing r,r1=(b*D)|r1, where D is 2^(32-amt) and is loaded by app (off_CD not used) and off_RES starts at MSW
Copy = 20
Copy from ABoff to resoff, 64b at a time
Remask = 21
Copy and mask from ABoff to resoff, 64b at a time
Compare = 22
Compare two arrays, running all the way to the end
CompareFast = 23
Compare two arrays, stopping on 1st !=^