Skip to content
Snippets Groups Projects
Commit 31af097a authored by Fangyi Zhou's avatar Fangyi Zhou Committed by Cheng Shao
Browse files

wasm: use primitive opcodes for fabs and sqrt

- Add new `WasmInstr` constructor `WasmSqrt` for sqrt, corresponding to
  primitivie operations in wasm.
- When lowering CallishMachOp, use `WasmAbs` and `WasmSqrt` for F32 and
  F64 fabs and sqrt.

(cherry picked from commit 64b0d4d0)
(cherry picked from commit d6b9dab5)
parent 5011b137
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment