| open Source |
| open Types |
| open Values |
| open V128 |
| open Ast |
| |
| |
| let i32_const n = Const (I32 n.it @@ n.at) |
| let i64_const n = Const (I64 n.it @@ n.at) |
| let f32_const n = Const (F32 n.it @@ n.at) |
| let f64_const n = Const (F64 n.it @@ n.at) |
| let v128_const n = VecConst (V128 n.it @@ n.at) |
| let ref_null t = RefNull t |
| let ref_func x = RefFunc x |
| |
| let unreachable = Unreachable |
| let nop = Nop |
| let drop = Drop |
| let select t = Select t |
| let block bt es = Block (bt, es) |
| let loop bt es = Loop (bt, es) |
| let if_ bt es1 es2 = If (bt, es1, es2) |
| let br x = Br x |
| let br_if x = BrIf x |
| let br_table xs x = BrTable (xs, x) |
| |
| let return = Return |
| let call x = Call x |
| let call_indirect x y = CallIndirect (x, y) |
| |
| let local_get x = LocalGet x |
| let local_set x = LocalSet x |
| let local_tee x = LocalTee x |
| let global_get x = GlobalGet x |
| let global_set x = GlobalSet x |
| |
| let table_get x = TableGet x |
| let table_set x = TableSet x |
| let table_size x = TableSize x |
| let table_grow x = TableGrow x |
| let table_fill x = TableFill x |
| let table_copy x y = TableCopy (x, y) |
| let table_init x y = TableInit (x, y) |
| let elem_drop x = ElemDrop x |
| |
| let i32_load align offset = Load {ty = I32Type; align; offset; pack = None} |
| let i64_load align offset = Load {ty = I64Type; align; offset; pack = None} |
| let f32_load align offset = Load {ty = F32Type; align; offset; pack = None} |
| let f64_load align offset = Load {ty = F64Type; align; offset; pack = None} |
| let i32_load8_s align offset = |
| Load {ty = I32Type; align; offset; pack = Some (Pack8, SX)} |
| let i32_load8_u align offset = |
| Load {ty = I32Type; align; offset; pack = Some (Pack8, ZX)} |
| let i32_load16_s align offset = |
| Load {ty = I32Type; align; offset; pack = Some (Pack16, SX)} |
| let i32_load16_u align offset = |
| Load {ty = I32Type; align; offset; pack = Some (Pack16, ZX)} |
| let i64_load8_s align offset = |
| Load {ty = I64Type; align; offset; pack = Some (Pack8, SX)} |
| let i64_load8_u align offset = |
| Load {ty = I64Type; align; offset; pack = Some (Pack8, ZX)} |
| let i64_load16_s align offset = |
| Load {ty = I64Type; align; offset; pack = Some (Pack16, SX)} |
| let i64_load16_u align offset = |
| Load {ty = I64Type; align; offset; pack = Some (Pack16, ZX)} |
| let i64_load32_s align offset = |
| Load {ty = I64Type; align; offset; pack = Some (Pack32, SX)} |
| let i64_load32_u align offset = |
| Load {ty = I64Type; align; offset; pack = Some (Pack32, ZX)} |
| |
| let i32_store align offset = Store {ty = I32Type; align; offset; pack = None} |
| let i64_store align offset = Store {ty = I64Type; align; offset; pack = None} |
| let f32_store align offset = Store {ty = F32Type; align; offset; pack = None} |
| let f64_store align offset = Store {ty = F64Type; align; offset; pack = None} |
| let i32_store8 align offset = |
| Store {ty = I32Type; align; offset; pack = Some Pack8} |
| let i32_store16 align offset = |
| Store {ty = I32Type; align; offset; pack = Some Pack16} |
| let i64_store8 align offset = |
| Store {ty = I64Type; align; offset; pack = Some Pack8} |
| let i64_store16 align offset = |
| Store {ty = I64Type; align; offset; pack = Some Pack16} |
| let i64_store32 align offset = |
| Store {ty = I64Type; align; offset; pack = Some Pack32} |
| |
| let memory_size = MemorySize |
| let memory_grow = MemoryGrow |
| let memory_fill = MemoryFill |
| let memory_copy = MemoryCopy |
| let memory_init x = MemoryInit x |
| let data_drop x = DataDrop x |
| |
| let ref_is_null = RefIsNull |
| |
| let i32_clz = Unary (I32 I32Op.Clz) |
| let i32_ctz = Unary (I32 I32Op.Ctz) |
| let i32_popcnt = Unary (I32 I32Op.Popcnt) |
| let i64_clz = Unary (I64 I64Op.Clz) |
| let i64_ctz = Unary (I64 I64Op.Ctz) |
| let i64_popcnt = Unary (I64 I64Op.Popcnt) |
| let f32_neg = Unary (F32 F32Op.Neg) |
| let f32_abs = Unary (F32 F32Op.Abs) |
| let f32_sqrt = Unary (F32 F32Op.Sqrt) |
| let f32_ceil = Unary (F32 F32Op.Ceil) |
| let f32_floor = Unary (F32 F32Op.Floor) |
| let f32_trunc = Unary (F32 F32Op.Trunc) |
| let f32_nearest = Unary (F32 F32Op.Nearest) |
| let f64_neg = Unary (F64 F64Op.Neg) |
| let f64_abs = Unary (F64 F64Op.Abs) |
| let f64_sqrt = Unary (F64 F64Op.Sqrt) |
| let f64_ceil = Unary (F64 F64Op.Ceil) |
| let f64_floor = Unary (F64 F64Op.Floor) |
| let f64_trunc = Unary (F64 F64Op.Trunc) |
| let f64_nearest = Unary (F64 F64Op.Nearest) |
| |
| let i32_add = Binary (I32 I32Op.Add) |
| let i32_sub = Binary (I32 I32Op.Sub) |
| let i32_mul = Binary (I32 I32Op.Mul) |
| let i32_div_s = Binary (I32 I32Op.DivS) |
| let i32_div_u = Binary (I32 I32Op.DivU) |
| let i32_rem_s = Binary (I32 I32Op.RemS) |
| let i32_rem_u = Binary (I32 I32Op.RemU) |
| let i32_and = Binary (I32 I32Op.And) |
| let i32_or = Binary (I32 I32Op.Or) |
| let i32_xor = Binary (I32 I32Op.Xor) |
| let i32_shl = Binary (I32 I32Op.Shl) |
| let i32_shr_s = Binary (I32 I32Op.ShrS) |
| let i32_shr_u = Binary (I32 I32Op.ShrU) |
| let i32_rotl = Binary (I32 I32Op.Rotl) |
| let i32_rotr = Binary (I32 I32Op.Rotr) |
| let i64_add = Binary (I64 I64Op.Add) |
| let i64_sub = Binary (I64 I64Op.Sub) |
| let i64_mul = Binary (I64 I64Op.Mul) |
| let i64_div_s = Binary (I64 I64Op.DivS) |
| let i64_div_u = Binary (I64 I64Op.DivU) |
| let i64_rem_s = Binary (I64 I64Op.RemS) |
| let i64_rem_u = Binary (I64 I64Op.RemU) |
| let i64_and = Binary (I64 I64Op.And) |
| let i64_or = Binary (I64 I64Op.Or) |
| let i64_xor = Binary (I64 I64Op.Xor) |
| let i64_shl = Binary (I64 I64Op.Shl) |
| let i64_shr_s = Binary (I64 I64Op.ShrS) |
| let i64_shr_u = Binary (I64 I64Op.ShrU) |
| let i64_rotl = Binary (I64 I64Op.Rotl) |
| let i64_rotr = Binary (I64 I64Op.Rotr) |
| let f32_add = Binary (F32 F32Op.Add) |
| let f32_sub = Binary (F32 F32Op.Sub) |
| let f32_mul = Binary (F32 F32Op.Mul) |
| let f32_div = Binary (F32 F32Op.Div) |
| let f32_min = Binary (F32 F32Op.Min) |
| let f32_max = Binary (F32 F32Op.Max) |
| let f32_copysign = Binary (F32 F32Op.CopySign) |
| let f64_add = Binary (F64 F64Op.Add) |
| let f64_sub = Binary (F64 F64Op.Sub) |
| let f64_mul = Binary (F64 F64Op.Mul) |
| let f64_div = Binary (F64 F64Op.Div) |
| let f64_min = Binary (F64 F64Op.Min) |
| let f64_max = Binary (F64 F64Op.Max) |
| let f64_copysign = Binary (F64 F64Op.CopySign) |
| |
| let i32_eqz = Test (I32 I32Op.Eqz) |
| let i64_eqz = Test (I64 I64Op.Eqz) |
| |
| let i32_eq = Compare (I32 I32Op.Eq) |
| let i32_ne = Compare (I32 I32Op.Ne) |
| let i32_lt_s = Compare (I32 I32Op.LtS) |
| let i32_lt_u = Compare (I32 I32Op.LtU) |
| let i32_le_s = Compare (I32 I32Op.LeS) |
| let i32_le_u = Compare (I32 I32Op.LeU) |
| let i32_gt_s = Compare (I32 I32Op.GtS) |
| let i32_gt_u = Compare (I32 I32Op.GtU) |
| let i32_ge_s = Compare (I32 I32Op.GeS) |
| let i32_ge_u = Compare (I32 I32Op.GeU) |
| let i64_eq = Compare (I64 I64Op.Eq) |
| let i64_ne = Compare (I64 I64Op.Ne) |
| let i64_lt_s = Compare (I64 I64Op.LtS) |
| let i64_lt_u = Compare (I64 I64Op.LtU) |
| let i64_le_s = Compare (I64 I64Op.LeS) |
| let i64_le_u = Compare (I64 I64Op.LeU) |
| let i64_gt_s = Compare (I64 I64Op.GtS) |
| let i64_gt_u = Compare (I64 I64Op.GtU) |
| let i64_ge_s = Compare (I64 I64Op.GeS) |
| let i64_ge_u = Compare (I64 I64Op.GeU) |
| let f32_eq = Compare (F32 F32Op.Eq) |
| let f32_ne = Compare (F32 F32Op.Ne) |
| let f32_lt = Compare (F32 F32Op.Lt) |
| let f32_le = Compare (F32 F32Op.Le) |
| let f32_gt = Compare (F32 F32Op.Gt) |
| let f32_ge = Compare (F32 F32Op.Ge) |
| let f64_eq = Compare (F64 F64Op.Eq) |
| let f64_ne = Compare (F64 F64Op.Ne) |
| let f64_lt = Compare (F64 F64Op.Lt) |
| let f64_le = Compare (F64 F64Op.Le) |
| let f64_gt = Compare (F64 F64Op.Gt) |
| let f64_ge = Compare (F64 F64Op.Ge) |
| |
| let i32_extend8_s = Unary (I32 (I32Op.ExtendS Pack8)) |
| let i32_extend16_s = Unary (I32 (I32Op.ExtendS Pack16)) |
| let i64_extend8_s = Unary (I64 (I64Op.ExtendS Pack8)) |
| let i64_extend16_s = Unary (I64 (I64Op.ExtendS Pack16)) |
| let i64_extend32_s = Unary (I64 (I64Op.ExtendS Pack32)) |
| |
| let i32_wrap_i64 = Convert (I32 I32Op.WrapI64) |
| let i32_trunc_f32_s = Convert (I32 I32Op.TruncSF32) |
| let i32_trunc_f32_u = Convert (I32 I32Op.TruncUF32) |
| let i32_trunc_f64_s = Convert (I32 I32Op.TruncSF64) |
| let i32_trunc_f64_u = Convert (I32 I32Op.TruncUF64) |
| let i32_trunc_sat_f32_s = Convert (I32 I32Op.TruncSatSF32) |
| let i32_trunc_sat_f32_u = Convert (I32 I32Op.TruncSatUF32) |
| let i32_trunc_sat_f64_s = Convert (I32 I32Op.TruncSatSF64) |
| let i32_trunc_sat_f64_u = Convert (I32 I32Op.TruncSatUF64) |
| let i64_extend_i32_s = Convert (I64 I64Op.ExtendSI32) |
| let i64_extend_i32_u = Convert (I64 I64Op.ExtendUI32) |
| let i64_trunc_f32_s = Convert (I64 I64Op.TruncSF32) |
| let i64_trunc_f32_u = Convert (I64 I64Op.TruncUF32) |
| let i64_trunc_f64_s = Convert (I64 I64Op.TruncSF64) |
| let i64_trunc_f64_u = Convert (I64 I64Op.TruncUF64) |
| let f32_convert_i32_s = Convert (F32 F32Op.ConvertSI32) |
| let f32_convert_i32_u = Convert (F32 F32Op.ConvertUI32) |
| let f32_convert_i64_s = Convert (F32 F32Op.ConvertSI64) |
| let f32_convert_i64_u = Convert (F32 F32Op.ConvertUI64) |
| let i64_trunc_sat_f32_s = Convert (I64 I64Op.TruncSatSF32) |
| let i64_trunc_sat_f32_u = Convert (I64 I64Op.TruncSatUF32) |
| let i64_trunc_sat_f64_s = Convert (I64 I64Op.TruncSatSF64) |
| let i64_trunc_sat_f64_u = Convert (I64 I64Op.TruncSatUF64) |
| let f32_demote_f64 = Convert (F32 F32Op.DemoteF64) |
| let f64_convert_i32_s = Convert (F64 F64Op.ConvertSI32) |
| let f64_convert_i32_u = Convert (F64 F64Op.ConvertUI32) |
| let f64_convert_i64_s = Convert (F64 F64Op.ConvertSI64) |
| let f64_convert_i64_u = Convert (F64 F64Op.ConvertUI64) |
| let f64_promote_f32 = Convert (F64 F64Op.PromoteF32) |
| let i32_reinterpret_f32 = Convert (I32 I32Op.ReinterpretFloat) |
| let i64_reinterpret_f64 = Convert (I64 I64Op.ReinterpretFloat) |
| let f32_reinterpret_i32 = Convert (F32 F32Op.ReinterpretInt) |
| let f64_reinterpret_i64 = Convert (F64 F64Op.ReinterpretInt) |
| |
| let v128_load align offset = VecLoad {ty = V128Type; align; offset; pack = None} |
| let v128_load8x8_s align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack64, ExtLane (Pack8x8, SX))} |
| let v128_load8x8_u align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack64, ExtLane (Pack8x8, ZX))} |
| let v128_load16x4_s align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack64, ExtLane (Pack16x4, SX))} |
| let v128_load16x4_u align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack64, ExtLane (Pack16x4, ZX))} |
| let v128_load32x2_s align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack64, ExtLane (Pack32x2, SX))} |
| let v128_load32x2_u align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack64, ExtLane (Pack32x2, ZX))} |
| let v128_load8_splat align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack8, ExtSplat)} |
| let v128_load16_splat align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack16, ExtSplat)} |
| let v128_load32_splat align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack32, ExtSplat)} |
| let v128_load64_splat align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack64, ExtSplat)} |
| let v128_load32_zero align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack32, ExtZero)} |
| let v128_load64_zero align offset = |
| VecLoad {ty = V128Type; align; offset; pack = Some (Pack64, ExtZero)} |
| |
| let v128_store align offset = VecStore {ty = V128Type; align; offset; pack = ()} |
| |
| let v128_load8_lane align offset i = |
| VecLoadLane ({ty = V128Type; align; offset; pack = Pack8}, i) |
| let v128_load16_lane align offset i = |
| VecLoadLane ({ty = V128Type; align; offset; pack = Pack16}, i) |
| let v128_load32_lane align offset i = |
| VecLoadLane ({ty = V128Type; align; offset; pack = Pack32}, i) |
| let v128_load64_lane align offset i = |
| VecLoadLane ({ty = V128Type; align; offset; pack = Pack64}, i) |
| |
| let v128_store8_lane align offset i = |
| VecStoreLane ({ty = V128Type; align; offset; pack = Pack8}, i) |
| let v128_store16_lane align offset i = |
| VecStoreLane ({ty = V128Type; align; offset; pack = Pack16}, i) |
| let v128_store32_lane align offset i = |
| VecStoreLane ({ty = V128Type; align; offset; pack = Pack32}, i) |
| let v128_store64_lane align offset i = |
| VecStoreLane ({ty = V128Type; align; offset; pack = Pack64}, i) |
| |
| let v128_not = VecUnaryBits (V128 V128Op.Not) |
| let v128_and = VecBinaryBits (V128 V128Op.And) |
| let v128_andnot = VecBinaryBits (V128 V128Op.AndNot) |
| let v128_or = VecBinaryBits (V128 V128Op.Or) |
| let v128_xor = VecBinaryBits (V128 V128Op.Xor) |
| let v128_bitselect = VecTernaryBits (V128 V128Op.Bitselect) |
| let v128_any_true = VecTestBits (V128 V128Op.AnyTrue) |
| |
| let i8x16_swizzle = VecBinary (V128 (I8x16 V128Op.Swizzle)) |
| let i8x16_shuffle is = VecBinary (V128 (I8x16 (V128Op.Shuffle is))) |
| |
| let i8x16_splat = VecSplat (V128 (I8x16 V128Op.Splat)) |
| let i8x16_extract_lane_s i = VecExtract (V128 (I8x16 (V128Op.Extract (i, SX)))) |
| let i8x16_extract_lane_u i = VecExtract (V128 (I8x16 (V128Op.Extract (i, ZX)))) |
| let i8x16_replace_lane i = VecReplace (V128 (I8x16 (V128Op.Replace i))) |
| let i8x16_eq = VecCompare (V128 (I8x16 V128Op.Eq)) |
| let i8x16_ne = VecCompare (V128 (I8x16 V128Op.Ne)) |
| let i8x16_lt_s = VecCompare (V128 (I8x16 V128Op.LtS)) |
| let i8x16_lt_u = VecCompare (V128 (I8x16 V128Op.LtU)) |
| let i8x16_le_s = VecCompare (V128 (I8x16 V128Op.LeS)) |
| let i8x16_le_u = VecCompare (V128 (I8x16 V128Op.LeU)) |
| let i8x16_gt_s = VecCompare (V128 (I8x16 V128Op.GtS)) |
| let i8x16_gt_u = VecCompare (V128 (I8x16 V128Op.GtU)) |
| let i8x16_ge_s = VecCompare (V128 (I8x16 V128Op.GeS)) |
| let i8x16_ge_u = VecCompare (V128 (I8x16 V128Op.GeU)) |
| let i8x16_neg = VecUnary (V128 (I8x16 V128Op.Neg)) |
| let i8x16_bitmask = VecBitmask (V128 (I8x16 V128Op.Bitmask)) |
| let i8x16_all_true = VecTest (V128 (I8x16 V128Op.AllTrue)) |
| let i8x16_narrow_i16x8_s = VecBinary (V128 (I8x16 V128Op.NarrowS)) |
| let i8x16_narrow_i16x8_u = VecBinary (V128 (I8x16 V128Op.NarrowU)) |
| let i16x8_extend_low_i8x16_s = VecConvert (V128 (I16x8 V128Op.ExtendLowS)) |
| let i16x8_extend_high_i8x16_s = VecConvert (V128 (I16x8 V128Op.ExtendHighS)) |
| let i16x8_extend_low_i8x16_u = VecConvert (V128 (I16x8 V128Op.ExtendLowU)) |
| let i16x8_extend_high_i8x16_u = VecConvert (V128 (I16x8 V128Op.ExtendHighU)) |
| let i8x16_shl = VecShift (V128 (I8x16 V128Op.Shl)) |
| let i8x16_shr_s = VecShift (V128 (I8x16 V128Op.ShrS)) |
| let i8x16_shr_u = VecShift (V128 (I8x16 V128Op.ShrU)) |
| let i8x16_add = VecBinary (V128 (I8x16 V128Op.Add)) |
| let i8x16_add_sat_s = VecBinary (V128 (I8x16 V128Op.AddSatS)) |
| let i8x16_add_sat_u = VecBinary (V128 (I8x16 V128Op.AddSatU)) |
| let i8x16_sub = VecBinary (V128 (I8x16 V128Op.Sub)) |
| let i8x16_sub_sat_s = VecBinary (V128 (I8x16 V128Op.SubSatS)) |
| let i8x16_sub_sat_u = VecBinary (V128 (I8x16 V128Op.SubSatU)) |
| let i8x16_abs = VecUnary (V128 (I8x16 V128Op.Abs)) |
| let i8x16_popcnt = VecUnary (V128 (I8x16 V128Op.Popcnt)) |
| let i8x16_min_s = VecBinary (V128 (I8x16 V128Op.MinS)) |
| let i8x16_min_u = VecBinary (V128 (I8x16 V128Op.MinU)) |
| let i8x16_max_s = VecBinary (V128 (I8x16 V128Op.MaxS)) |
| let i8x16_max_u = VecBinary (V128 (I8x16 V128Op.MaxU)) |
| let i8x16_avgr_u = VecBinary (V128 (I8x16 V128Op.AvgrU)) |
| |
| let i16x8_splat = VecSplat (V128 (I16x8 V128Op.Splat)) |
| let i16x8_extract_lane_s i = VecExtract (V128 (I16x8 (V128Op.Extract (i, SX)))) |
| let i16x8_extract_lane_u i = VecExtract (V128 (I16x8 (V128Op.Extract (i, ZX)))) |
| let i16x8_replace_lane i = VecReplace (V128 (I16x8 (V128Op.Replace i))) |
| let i16x8_eq = VecCompare (V128 (I16x8 V128Op.Eq)) |
| let i16x8_ne = VecCompare (V128 (I16x8 V128Op.Ne)) |
| let i16x8_lt_s = VecCompare (V128 (I16x8 V128Op.LtS)) |
| let i16x8_lt_u = VecCompare (V128 (I16x8 V128Op.LtU)) |
| let i16x8_le_s = VecCompare (V128 (I16x8 V128Op.LeS)) |
| let i16x8_le_u = VecCompare (V128 (I16x8 V128Op.LeU)) |
| let i16x8_gt_s = VecCompare (V128 (I16x8 V128Op.GtS)) |
| let i16x8_gt_u = VecCompare (V128 (I16x8 V128Op.GtU)) |
| let i16x8_ge_s = VecCompare (V128 (I16x8 V128Op.GeS)) |
| let i16x8_ge_u = VecCompare (V128 (I16x8 V128Op.GeU)) |
| let i16x8_neg = VecUnary (V128 (I16x8 V128Op.Neg)) |
| let i16x8_bitmask = VecBitmask (V128 (I16x8 V128Op.Bitmask)) |
| let i16x8_all_true = VecTest (V128 (I16x8 V128Op.AllTrue)) |
| let i16x8_narrow_i32x4_s = VecBinary (V128 (I16x8 V128Op.NarrowS)) |
| let i16x8_narrow_i32x4_u = VecBinary (V128 (I16x8 V128Op.NarrowU)) |
| let i16x8_shl = VecShift (V128 (I16x8 V128Op.Shl)) |
| let i16x8_shr_s = VecShift (V128 (I16x8 V128Op.ShrS)) |
| let i16x8_shr_u = VecShift (V128 (I16x8 V128Op.ShrU)) |
| let i16x8_add = VecBinary (V128 (I16x8 V128Op.Add)) |
| let i16x8_add_sat_s = VecBinary (V128 (I16x8 V128Op.AddSatS)) |
| let i16x8_add_sat_u = VecBinary (V128 (I16x8 V128Op.AddSatU)) |
| let i16x8_sub = VecBinary (V128 (I16x8 V128Op.Sub)) |
| let i16x8_sub_sat_s = VecBinary (V128 (I16x8 V128Op.SubSatS)) |
| let i16x8_sub_sat_u = VecBinary (V128 (I16x8 V128Op.SubSatU)) |
| let i16x8_mul = VecBinary (V128 (I16x8 V128Op.Mul)) |
| let i16x8_abs = VecUnary (V128 (I16x8 V128Op.Abs)) |
| let i16x8_min_s = VecBinary (V128 (I16x8 V128Op.MinS)) |
| let i16x8_min_u = VecBinary (V128 (I16x8 V128Op.MinU)) |
| let i16x8_max_s = VecBinary (V128 (I16x8 V128Op.MaxS)) |
| let i16x8_max_u = VecBinary (V128 (I16x8 V128Op.MaxU)) |
| let i16x8_avgr_u = VecBinary (V128 (I16x8 V128Op.AvgrU)) |
| let i16x8_extmul_low_i8x16_s = VecBinary (V128 (I16x8 V128Op.ExtMulLowS)) |
| let i16x8_extmul_high_i8x16_s = VecBinary (V128 (I16x8 V128Op.ExtMulHighS)) |
| let i16x8_extmul_low_i8x16_u = VecBinary (V128 (I16x8 V128Op.ExtMulLowU)) |
| let i16x8_extmul_high_i8x16_u = VecBinary (V128 (I16x8 V128Op.ExtMulHighU)) |
| let i16x8_q15mulr_sat_s = VecBinary (V128 (I16x8 V128Op.Q15MulRSatS)) |
| let i16x8_extadd_pairwise_i8x16_s = VecConvert (V128 (I16x8 V128Op.ExtAddPairwiseS)) |
| let i16x8_extadd_pairwise_i8x16_u = VecConvert (V128 (I16x8 V128Op.ExtAddPairwiseU)) |
| |
| let i32x4_splat = VecSplat (V128 (I32x4 V128Op.Splat)) |
| let i32x4_extract_lane i = VecExtract (V128 (I32x4 (V128Op.Extract (i, ())))) |
| let i32x4_replace_lane i = VecReplace (V128 (I32x4 (V128Op.Replace i))) |
| let i32x4_eq = VecCompare (V128 (I32x4 V128Op.Eq)) |
| let i32x4_ne = VecCompare (V128 (I32x4 V128Op.Ne)) |
| let i32x4_lt_s = VecCompare (V128 (I32x4 V128Op.LtS)) |
| let i32x4_lt_u = VecCompare (V128 (I32x4 V128Op.LtU)) |
| let i32x4_le_s = VecCompare (V128 (I32x4 V128Op.LeS)) |
| let i32x4_le_u = VecCompare (V128 (I32x4 V128Op.LeU)) |
| let i32x4_gt_s = VecCompare (V128 (I32x4 V128Op.GtS)) |
| let i32x4_gt_u = VecCompare (V128 (I32x4 V128Op.GtU)) |
| let i32x4_ge_s = VecCompare (V128 (I32x4 V128Op.GeS)) |
| let i32x4_ge_u = VecCompare (V128 (I32x4 V128Op.GeU)) |
| let i32x4_abs = VecUnary (V128 (I32x4 V128Op.Abs)) |
| let i32x4_neg = VecUnary (V128 (I32x4 V128Op.Neg)) |
| let i32x4_bitmask = VecBitmask (V128 (I32x4 V128Op.Bitmask)) |
| let i32x4_all_true = VecTest (V128 (I32x4 V128Op.AllTrue)) |
| let i32x4_extend_low_i16x8_s = VecConvert (V128 (I32x4 V128Op.ExtendLowS)) |
| let i32x4_extend_high_i16x8_s = VecConvert (V128 (I32x4 V128Op.ExtendHighS)) |
| let i32x4_extend_low_i16x8_u = VecConvert (V128 (I32x4 V128Op.ExtendLowU)) |
| let i32x4_extend_high_i16x8_u = VecConvert (V128 (I32x4 V128Op.ExtendHighU)) |
| let i32x4_shl = VecShift (V128 (I32x4 V128Op.Shl)) |
| let i32x4_shr_s = VecShift (V128 (I32x4 V128Op.ShrS)) |
| let i32x4_shr_u = VecShift (V128 (I32x4 V128Op.ShrU)) |
| let i32x4_add = VecBinary (V128 (I32x4 V128Op.Add)) |
| let i32x4_sub = VecBinary (V128 (I32x4 V128Op.Sub)) |
| let i32x4_min_s = VecBinary (V128 (I32x4 V128Op.MinS)) |
| let i32x4_min_u = VecBinary (V128 (I32x4 V128Op.MinU)) |
| let i32x4_max_s = VecBinary (V128 (I32x4 V128Op.MaxS)) |
| let i32x4_max_u = VecBinary (V128 (I32x4 V128Op.MaxU)) |
| let i32x4_mul = VecBinary (V128 (I32x4 V128Op.Mul)) |
| let i32x4_dot_i16x8_s = VecBinary (V128 (I32x4 V128Op.DotS)) |
| let i32x4_trunc_sat_f32x4_s = VecConvert (V128 (I32x4 V128Op.TruncSatSF32x4)) |
| let i32x4_trunc_sat_f32x4_u = VecConvert (V128 (I32x4 V128Op.TruncSatUF32x4)) |
| let i32x4_trunc_sat_f64x2_s_zero = VecConvert (V128 (I32x4 V128Op.TruncSatSZeroF64x2)) |
| let i32x4_trunc_sat_f64x2_u_zero = VecConvert (V128 (I32x4 V128Op.TruncSatUZeroF64x2)) |
| let i32x4_extmul_low_i16x8_s = VecBinary (V128 (I32x4 V128Op.ExtMulLowS)) |
| let i32x4_extmul_high_i16x8_s = VecBinary (V128 (I32x4 V128Op.ExtMulHighS)) |
| let i32x4_extmul_low_i16x8_u = VecBinary (V128 (I32x4 V128Op.ExtMulLowU)) |
| let i32x4_extmul_high_i16x8_u = VecBinary (V128 (I32x4 V128Op.ExtMulHighU)) |
| let i32x4_extadd_pairwise_i16x8_s = VecConvert (V128 (I32x4 V128Op.ExtAddPairwiseS)) |
| let i32x4_extadd_pairwise_i16x8_u = VecConvert (V128 (I32x4 V128Op.ExtAddPairwiseU)) |
| |
| let i64x2_splat = VecSplat (V128 (I64x2 V128Op.Splat)) |
| let i64x2_extract_lane i = VecExtract (V128 (I64x2 (V128Op.Extract (i, ())))) |
| let i64x2_replace_lane i = VecReplace (V128 (I64x2 (V128Op.Replace i))) |
| let i64x2_extend_low_i32x4_s = VecConvert (V128 (I64x2 V128Op.ExtendLowS)) |
| let i64x2_extend_high_i32x4_s = VecConvert (V128 (I64x2 V128Op.ExtendHighS)) |
| let i64x2_extend_low_i32x4_u = VecConvert (V128 (I64x2 V128Op.ExtendLowU)) |
| let i64x2_extend_high_i32x4_u = VecConvert (V128 (I64x2 V128Op.ExtendHighU)) |
| let i64x2_eq = VecCompare (V128 (I64x2 V128Op.Eq)) |
| let i64x2_ne = VecCompare (V128 (I64x2 V128Op.Ne)) |
| let i64x2_lt_s = VecCompare (V128 (I64x2 V128Op.LtS)) |
| let i64x2_le_s = VecCompare (V128 (I64x2 V128Op.LeS)) |
| let i64x2_gt_s = VecCompare (V128 (I64x2 V128Op.GtS)) |
| let i64x2_ge_s = VecCompare (V128 (I64x2 V128Op.GeS)) |
| let i64x2_abs = VecUnary (V128 (I64x2 V128Op.Abs)) |
| let i64x2_neg = VecUnary (V128 (I64x2 V128Op.Neg)) |
| let i64x2_bitmask = VecBitmask (V128 (I64x2 V128Op.Bitmask)) |
| let i64x2_all_true = VecTest (V128 (I64x2 V128Op.AllTrue)) |
| let i64x2_add = VecBinary (V128 (I64x2 V128Op.Add)) |
| let i64x2_sub = VecBinary (V128 (I64x2 V128Op.Sub)) |
| let i64x2_mul = VecBinary (V128 (I64x2 V128Op.Mul)) |
| let i64x2_shl = VecShift (V128 (I64x2 V128Op.Shl)) |
| let i64x2_shr_s = VecShift (V128 (I64x2 V128Op.ShrS)) |
| let i64x2_shr_u = VecShift (V128 (I64x2 V128Op.ShrU)) |
| let i64x2_extmul_low_i32x4_s = VecBinary (V128 (I64x2 V128Op.ExtMulLowS)) |
| let i64x2_extmul_high_i32x4_s = VecBinary (V128 (I64x2 V128Op.ExtMulHighS)) |
| let i64x2_extmul_low_i32x4_u = VecBinary (V128 (I64x2 V128Op.ExtMulLowU)) |
| let i64x2_extmul_high_i32x4_u = VecBinary (V128 (I64x2 V128Op.ExtMulHighU)) |
| |
| let f32x4_splat = VecSplat (V128 (F32x4 V128Op.Splat)) |
| let f32x4_extract_lane i = VecExtract (V128 (F32x4 (V128Op.Extract (i, ())))) |
| let f32x4_replace_lane i = VecReplace (V128 (F32x4 (V128Op.Replace i))) |
| let f32x4_eq = VecCompare (V128 (F32x4 V128Op.Eq)) |
| let f32x4_ne = VecCompare (V128 (F32x4 V128Op.Ne)) |
| let f32x4_lt = VecCompare (V128 (F32x4 V128Op.Lt)) |
| let f32x4_le = VecCompare (V128 (F32x4 V128Op.Le)) |
| let f32x4_gt = VecCompare (V128 (F32x4 V128Op.Gt)) |
| let f32x4_ge = VecCompare (V128 (F32x4 V128Op.Ge)) |
| let f32x4_abs = VecUnary (V128 (F32x4 V128Op.Abs)) |
| let f32x4_neg = VecUnary (V128 (F32x4 V128Op.Neg)) |
| let f32x4_sqrt = VecUnary (V128 (F32x4 V128Op.Sqrt)) |
| let f32x4_ceil = VecUnary (V128 (F32x4 V128Op.Ceil)) |
| let f32x4_floor = VecUnary (V128 (F32x4 V128Op.Floor)) |
| let f32x4_trunc = VecUnary (V128 (F32x4 V128Op.Trunc)) |
| let f32x4_nearest = VecUnary (V128 (F32x4 V128Op.Nearest)) |
| let f32x4_add = VecBinary (V128 (F32x4 V128Op.Add)) |
| let f32x4_sub = VecBinary (V128 (F32x4 V128Op.Sub)) |
| let f32x4_mul = VecBinary (V128 (F32x4 V128Op.Mul)) |
| let f32x4_div = VecBinary (V128 (F32x4 V128Op.Div)) |
| let f32x4_min = VecBinary (V128 (F32x4 V128Op.Min)) |
| let f32x4_max = VecBinary (V128 (F32x4 V128Op.Max)) |
| let f32x4_pmin = VecBinary (V128 (F32x4 V128Op.Pmin)) |
| let f32x4_pmax = VecBinary (V128 (F32x4 V128Op.Pmax)) |
| let f32x4_demote_f64x2_zero = VecConvert (V128 (F32x4 V128Op.DemoteZeroF64x2)) |
| let f32x4_convert_i32x4_s = VecConvert (V128 (F32x4 V128Op.ConvertSI32x4)) |
| let f32x4_convert_i32x4_u = VecConvert (V128 (F32x4 V128Op.ConvertUI32x4)) |
| |
| let f64x2_splat = VecSplat (V128 (F64x2 V128Op.Splat)) |
| let f64x2_extract_lane i = VecExtract (V128 (F64x2 (V128Op.Extract (i, ())))) |
| let f64x2_replace_lane i = VecReplace (V128 (F64x2 (V128Op.Replace i))) |
| let f64x2_eq = VecCompare (V128 (F64x2 V128Op.Eq)) |
| let f64x2_ne = VecCompare (V128 (F64x2 V128Op.Ne)) |
| let f64x2_lt = VecCompare (V128 (F64x2 V128Op.Lt)) |
| let f64x2_le = VecCompare (V128 (F64x2 V128Op.Le)) |
| let f64x2_gt = VecCompare (V128 (F64x2 V128Op.Gt)) |
| let f64x2_ge = VecCompare (V128 (F64x2 V128Op.Ge)) |
| let f64x2_neg = VecUnary (V128 (F64x2 V128Op.Neg)) |
| let f64x2_sqrt = VecUnary (V128 (F64x2 V128Op.Sqrt)) |
| let f64x2_ceil = VecUnary (V128 (F64x2 V128Op.Ceil)) |
| let f64x2_floor = VecUnary (V128 (F64x2 V128Op.Floor)) |
| let f64x2_trunc = VecUnary (V128 (F64x2 V128Op.Trunc)) |
| let f64x2_nearest = VecUnary (V128 (F64x2 V128Op.Nearest)) |
| let f64x2_add = VecBinary (V128 (F64x2 V128Op.Add)) |
| let f64x2_sub = VecBinary (V128 (F64x2 V128Op.Sub)) |
| let f64x2_mul = VecBinary (V128 (F64x2 V128Op.Mul)) |
| let f64x2_div = VecBinary (V128 (F64x2 V128Op.Div)) |
| let f64x2_min = VecBinary (V128 (F64x2 V128Op.Min)) |
| let f64x2_max = VecBinary (V128 (F64x2 V128Op.Max)) |
| let f64x2_abs = VecUnary (V128 (F64x2 V128Op.Abs)) |
| let f64x2_pmin = VecBinary (V128 (F64x2 V128Op.Pmin)) |
| let f64x2_pmax = VecBinary (V128 (F64x2 V128Op.Pmax)) |
| let f64x2_promote_low_f32x4 = VecConvert (V128 (F64x2 V128Op.PromoteLowF32x4)) |
| let f64x2_convert_low_i32x4_s = VecConvert (V128 (F64x2 V128Op.ConvertSI32x4)) |
| let f64x2_convert_low_i32x4_u = VecConvert (V128 (F64x2 V128Op.ConvertUI32x4)) |