dfinity / ic-wasm

A collection of libraries and tools for transforming Wasm canisters running on the Internet Computer
Apache License 2.0
34 stars 5 forks source link

`ic-wasm optimize` does not support SIMD #62

Closed zensh closed 4 months ago

zensh commented 4 months ago

I attempted to run ic-wasm xxxxx.wasm -o xxxxx.wasm optimize O3 --inline-functions-with-loops and encountered the following errors:

[wasm-validator error in function 4970] unexpected false: SIMD operations require SIMD [--enable-simd], on 
(v128.store offset=12 align=4
 (local.get $2)
 (v128.load align=4
  (local.get $0)
 )
)
...
chenyan-dfinity commented 4 months ago

It was fixed a few weeks ago: https://github.com/dfinity/ic-wasm/pull/58. Can you try the latest release?

zensh commented 4 months ago

It was fixed a few weeks ago: #58. Can you try the latest release?

Yes, it works at v0.8.0.