
This is a cherry pick of #154053 with a fix for bad handling of endianess when loading float and double litteral from the binary. --------- Co-authored-by: Ferdinand Lemaire <ferdinand.lemaire@woven-planet.global> Co-authored-by: Jessica Paquette <jessica.paquette@woven-planet.global> Co-authored-by: Luc Forget <luc.forget@woven.toyota>
34 lines
813 B
Plaintext
34 lines
813 B
Plaintext
--- !WASM
|
|
FileHeader:
|
|
Version: 0x1
|
|
Sections:
|
|
- Type: TYPE
|
|
Signatures:
|
|
- Index: 0
|
|
ParamTypes: []
|
|
ReturnTypes:
|
|
- F32
|
|
- Index: 1
|
|
ParamTypes: []
|
|
ReturnTypes:
|
|
- F64
|
|
- Type: FUNCTION
|
|
FunctionTypes: [ 0, 1 ]
|
|
- Type: EXPORT
|
|
Exports:
|
|
- Name: abs_f32
|
|
Kind: FUNCTION
|
|
Index: 0
|
|
- Name: abs_f64
|
|
Kind: FUNCTION
|
|
Index: 1
|
|
- Type: CODE
|
|
Functions:
|
|
- Index: 0
|
|
Locals: []
|
|
Body: 43000020418B0B
|
|
- Index: 1
|
|
Locals: []
|
|
Body: 440000000000002440990B
|
|
...
|