binaryen
binaryen copied to clipboard
different behavior when opt `fsqrt` with negative number in arm64 and x64
Literal will use std::sqrt to calculate f32.sqrt and f64.sqrt. It cause output wasm different when we build in arm64 and x64.
My rough idea is add an option to apply deterministic profile to make sure we can have the same binary output in different platform.