Enum lpc55_hal::peripherals::casper::Operations[][src]

pub enum Operations {
Show variants Mul6464NoSum, Mul6464Sum, Mul6464FullSum, Mul6464Reduce, Add64, Sub64, Double64, Xor64, ShiftLeft32, ShiftRight32, Copy, Remask, Compare, CompareFast,
}

Variants

Mul6464NoSum

Walking 1 or more of J loop, doing r=a*b using 64x64=128

Mul6464Sum

Walking 1 or more of J loop, doing c,r=r+a*b using 64x64=128, but assume inner j loop

Mul6464FullSum

Walking 1 or more of J loop, doing c,r=r+a*b using 64x64=128, but sum all of w.

Mul6464Reduce

Walking 1 or more of J loop, doing c,r[-1]=r+a*b using 64x64=128, but skip 1st write

Add64

Walking add with off_AB, and in/out off_RES doing c,r=r+a+c using 64+64=65

Sub64

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

Walking add to self with off_RES doing c,r=r+r+c using 64+64=65

Xor64

Walking XOR with off_AB, and in/out off_RES doing r=r^a using 64^64=64

ShiftLeft32

Walking shift left doing r1,r=(b*D)|r1, where D is 2^amt and is loaded by app (off_CD not used)

ShiftRight32

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

Copy from ABoff to resoff, 64b at a time

Remask

Copy and mask from ABoff to resoff, 64b at a time

Compare

Compare two arrays, running all the way to the end

CompareFast

Compare two arrays, stopping on 1st !=^

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.