parse shuffle and replace_lane

This commit is contained in:
Ilya Rezvov
2023-09-05 22:38:47 -06:00
parent b4acb0e1e8
commit 4302e4b32f
5 changed files with 119 additions and 21 deletions
+4
View File
@@ -230,7 +230,11 @@ data Instruction index =
-- Vector instructions
| V128Splat SimdShape
| V128ExtractLane SimdShape index {- signed -} Bool
| V128ReplaceLane SimdShape index
| V128AllTrue SimdShape
| V128AnyTrue
| I8x16Swizzle
| I8x16Shuffle [Int]
deriving (Show, Eq, Generic, NFData)
type Expression = [Instruction Natural]