1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
(* SPDX-License-Identifier: AGPL-3.0-or-later *)
(* Copyright © 2021-2024 OCamlPro *)
(* Written by the Owi programmers *)

module type T = sig
  type t

  type i32

  type i64

  val zero : t

  val of_i32x4 : i32 -> i32 -> i32 -> i32 -> t

  val to_i32x4 : t -> i32 * i32 * i32 * i32

  val of_i64x2 : i64 -> i64 -> t

  val to_i64x2 : t -> i64 * i64

  val of_concrete : Concrete_v128.t -> t

  val pp : Format.formatter -> t -> unit
end