Update wasmparser/wat dependencies (#2675)
* Update wasmparser/wat dependencies Bring in new opcodes and new instructions for SIMD * Update module linking syntax
This commit is contained in:
@@ -30,7 +30,7 @@ peepmatic-traits = { path = "../peepmatic/crates/traits", optional = true, versi
|
||||
peepmatic-runtime = { path = "../peepmatic/crates/runtime", optional = true, version = "0.70.0" }
|
||||
regalloc = { version = "0.0.31" }
|
||||
souper-ir = { version = "2.1.0", optional = true }
|
||||
wast = { version = "32.0.0", optional = true }
|
||||
wast = { version = "34.0.0", optional = true }
|
||||
# It is a goal of the cranelift-codegen crate to have minimal external dependencies.
|
||||
# Please don't add any unless they are essential to the task of creating binary
|
||||
# machine code. Integration tests that need external dependencies can be
|
||||
|
||||
@@ -15,7 +15,7 @@ peepmatic-macro = { version = "0.70.0", path = "crates/macro" }
|
||||
peepmatic-runtime = { version = "0.70.0", path = "crates/runtime", features = ["construct"] }
|
||||
peepmatic-traits = { version = "0.70.0", path = "crates/traits" }
|
||||
serde = { version = "1.0.105", features = ["derive"] }
|
||||
wast = "32.0.0"
|
||||
wast = "34.0.0"
|
||||
z3 = { version = "0.7.1", features = ["static-link-z3"] }
|
||||
|
||||
[dev-dependencies]
|
||||
|
||||
@@ -21,4 +21,4 @@ peepmatic-test-operator = { path = "../test-operator" }
|
||||
peepmatic-traits = { path = "../traits" }
|
||||
rand = { version = "0.8.3", features = ["small_rng"] }
|
||||
serde = "1.0.106"
|
||||
wast = "32.0.0"
|
||||
wast = "34.0.0"
|
||||
|
||||
@@ -16,7 +16,7 @@ peepmatic-automata = { version = "0.70.0", path = "../automata", features = ["se
|
||||
peepmatic-traits = { version = "0.70.0", path = "../traits" }
|
||||
serde = { version = "1.0.105", features = ["derive"] }
|
||||
thiserror = "1.0.15"
|
||||
wast = { version = "32.0.0", optional = true }
|
||||
wast = { version = "34.0.0", optional = true }
|
||||
|
||||
[dev-dependencies]
|
||||
peepmatic-test-operator = { version = "0.70.0", path = "../test-operator" }
|
||||
|
||||
@@ -16,4 +16,4 @@ log = "0.4.8"
|
||||
[dev-dependencies]
|
||||
peepmatic = { path = "../..", version = "0.70.0" }
|
||||
peepmatic-test-operator = { version = "0.70.0", path = "../test-operator" }
|
||||
wast = "32.0.0"
|
||||
wast = "34.0.0"
|
||||
|
||||
@@ -11,4 +11,4 @@ edition = "2018"
|
||||
[dependencies]
|
||||
peepmatic-traits = { version = "0.70.0", path = "../traits" }
|
||||
serde = { version = "1.0.105", features = ["derive"] }
|
||||
wast = "32.0.0"
|
||||
wast = "34.0.0"
|
||||
|
||||
@@ -12,7 +12,7 @@ keywords = ["webassembly", "wasm"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
wasmparser = { version = "0.73", default-features = false }
|
||||
wasmparser = { version = "0.75", default-features = false }
|
||||
cranelift-codegen = { path = "../codegen", version = "0.70.0", default-features = false }
|
||||
cranelift-entity = { path = "../entity", version = "0.70.0" }
|
||||
cranelift-frontend = { path = "../frontend", version = "0.70.0", default-features = false }
|
||||
|
||||
@@ -553,7 +553,9 @@ pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
|
||||
| Operator::Catch { .. }
|
||||
| Operator::Throw { .. }
|
||||
| Operator::Unwind
|
||||
| Operator::Rethrow { .. } => {
|
||||
| Operator::Rethrow { .. }
|
||||
| Operator::Delegate { .. }
|
||||
| Operator::CatchAll => {
|
||||
return Err(wasm_unsupported!(
|
||||
"proposed exception handling operator {:?}",
|
||||
op
|
||||
@@ -1849,7 +1851,26 @@ pub fn translate_operator<FE: FuncEnvironment + ?Sized>(
|
||||
| Operator::I64x2ExtMulLowI32x4S
|
||||
| Operator::I64x2ExtMulHighI32x4S
|
||||
| Operator::I64x2ExtMulLowI32x4U
|
||||
| Operator::I64x2ExtMulHighI32x4U => {
|
||||
| Operator::I64x2ExtMulHighI32x4U
|
||||
| Operator::I64x2Eq
|
||||
| Operator::I64x2Ne
|
||||
| Operator::I64x2LtS
|
||||
| Operator::I64x2GtS
|
||||
| Operator::I64x2LeS
|
||||
| Operator::I64x2GeS
|
||||
| Operator::I64x2Abs
|
||||
| Operator::I64x2AllTrue
|
||||
| Operator::I16x8ExtAddPairwiseI8x16S
|
||||
| Operator::I16x8ExtAddPairwiseI8x16U
|
||||
| Operator::I32x4ExtAddPairwiseI16x8S
|
||||
| Operator::I32x4ExtAddPairwiseI16x8U
|
||||
| Operator::F32x4DemoteF64x2Zero
|
||||
| Operator::F64x2PromoteLowF32x4
|
||||
| Operator::F64x2ConvertLowI32x4S
|
||||
| Operator::F64x2ConvertLowI32x4U
|
||||
| Operator::I32x4TruncSatF64x2SZero
|
||||
| Operator::I32x4TruncSatF64x2UZero
|
||||
| Operator::I8x16Popcnt => {
|
||||
return Err(wasm_unsupported!("proposed simd operator {:?}", op));
|
||||
}
|
||||
Operator::ReturnCall { .. } | Operator::ReturnCallIndirect { .. } => {
|
||||
|
||||
Reference in New Issue
Block a user