This repository was archived by the owner on Dec 22, 2021. It is now read-only.

Description
What should it be? Wabt uses v128.const i32 0xXXXXXXXX 0xXXXXXXXX 0xXXXXXXXX 0xXXXXXXXX, LLVM (which currently does not try too hard to match the official text format) uses v128.const followed by 2 or 4 LLVM floating point constants or 2, 4, 8, or 16 integer constants. Binaryen is about to get a generalization of Wabt's format that accepts i32, f32, i64, or f64 as the lane type and 2, 4, 8, or 16 constants as appropriate unless we decide otherwise here.