mirror of
https://github.com/GaloisInc/macaw.git
synced 2024-12-02 23:43:52 +03:00
Definition for Unpack
This commit is contained in:
parent
f54f0a13ba
commit
0f3b97b8bf
@ -207,6 +207,12 @@ pureSem sym fn =
|
||||
|
||||
_ -> fail "Unepected size for VPCLMULQDQ"
|
||||
|
||||
M.VPUnpackLQDQ -> vecOp2 sym LittleEndian w (knownNat @64) x y $
|
||||
\xs ys -> let n = V.length xs
|
||||
in case mul2Plus n of
|
||||
Refl -> V.take n (V.interlieve xs ys)
|
||||
|
||||
|
||||
M.VAESEnc
|
||||
| Just Refl <- testEquality w n128 ->
|
||||
do let f = fnAesEnc (symFuns sym)
|
||||
@ -247,6 +253,7 @@ pureSem sym fn =
|
||||
case mulCancelR elNum (V.length xs) elSz of
|
||||
Refl -> V.insertAt i e xs
|
||||
|
||||
|
||||
semPointwise :: (1 <= w) =>
|
||||
M.AVXPointWiseOp2 -> NatRepr w ->
|
||||
E sym (BVType w) -> E sym (BVType w) -> E sym (BVType w)
|
||||
|
Loading…
Reference in New Issue
Block a user