A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
;;! target = "x86_64"
(module
(func $f32x4.ceil (param v128) (result v128) (f32x4.ceil (local.get 0)))
(func $f32x4.floor (param v128) (result v128) (f32x4.floor (local.get 0)))
(func $f32x4.trunc (param v128) (result v128) (f32x4.trunc (local.get 0)))
(func $f32x4.nearest (param v128) (result v128) (f32x4.nearest (local.get 0)))
(func $f64x2.ceil (param v128) (result v128) (f64x2.ceil (local.get 0)))
(func $f64x2.floor (param v128) (result v128) (f64x2.floor (local.get 0)))
(func $f64x2.trunc (param v128) (result v128) (f64x2.trunc (local.get 0)))
(func $f64x2.nearest (param v128) (result v128) (f64x2.nearest (local.get 0)))
(func $i32x4.trunc_sat_f64x2_u_zero (param v128) (result v128) (i32x4.trunc_sat_f64x2_u_zero (local.get 0)))
)
;; function u0:0(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; sig0 = (i64 vmctx, f32) -> f32 tail
;; fn0 = colocated u805306368:27 sig0
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @0023 v3 = bitcast.f32x4 little v2
;; @0023 v4 = vconst.f32x4 const0
;; @0023 v5 = extractlane v3, 0
;; @0023 v6 = call fn0(v0, v5)
;; @0023 v7 = insertlane v4, v6, 0 ; v4 = const0
;; @0023 v8 = extractlane v3, 1
;; @0023 v9 = call fn0(v0, v8)
;; @0023 v10 = insertlane v7, v9, 1
;; @0023 v11 = extractlane v3, 2
;; @0023 v12 = call fn0(v0, v11)
;; @0023 v13 = insertlane v10, v12, 2
;; @0023 v14 = extractlane v3, 3
;; @0023 v15 = call fn0(v0, v14)
;; @0023 v16 = insertlane v13, v15, 3
;; @0025 v17 = bitcast.i8x16 little v16
;; @0025 jump block1
;;
;; block1:
;; @0025 return v17
;; }
;;
;; function u0:1(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; sig0 = (i64 vmctx, f32) -> f32 tail
;; fn0 = colocated u805306368:29 sig0
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @002a v3 = bitcast.f32x4 little v2
;; @002a v4 = vconst.f32x4 const0
;; @002a v5 = extractlane v3, 0
;; @002a v6 = call fn0(v0, v5)
;; @002a v7 = insertlane v4, v6, 0 ; v4 = const0
;; @002a v8 = extractlane v3, 1
;; @002a v9 = call fn0(v0, v8)
;; @002a v10 = insertlane v7, v9, 1
;; @002a v11 = extractlane v3, 2
;; @002a v12 = call fn0(v0, v11)
;; @002a v13 = insertlane v10, v12, 2
;; @002a v14 = extractlane v3, 3
;; @002a v15 = call fn0(v0, v14)
;; @002a v16 = insertlane v13, v15, 3
;; @002c v17 = bitcast.i8x16 little v16
;; @002c jump block1
;;
;; block1:
;; @002c return v17
;; }
;;
;; function u0:2(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; sig0 = (i64 vmctx, f32) -> f32 tail
;; fn0 = colocated u805306368:31 sig0
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @0031 v3 = bitcast.f32x4 little v2
;; @0031 v4 = vconst.f32x4 const0
;; @0031 v5 = extractlane v3, 0
;; @0031 v6 = call fn0(v0, v5)
;; @0031 v7 = insertlane v4, v6, 0 ; v4 = const0
;; @0031 v8 = extractlane v3, 1
;; @0031 v9 = call fn0(v0, v8)
;; @0031 v10 = insertlane v7, v9, 1
;; @0031 v11 = extractlane v3, 2
;; @0031 v12 = call fn0(v0, v11)
;; @0031 v13 = insertlane v10, v12, 2
;; @0031 v14 = extractlane v3, 3
;; @0031 v15 = call fn0(v0, v14)
;; @0031 v16 = insertlane v13, v15, 3
;; @0033 v17 = bitcast.i8x16 little v16
;; @0033 jump block1
;;
;; block1:
;; @0033 return v17
;; }
;;
;; function u0:3(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; sig0 = (i64 vmctx, f32) -> f32 tail
;; fn0 = colocated u805306368:33 sig0
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @0038 v3 = bitcast.f32x4 little v2
;; @0038 v4 = vconst.f32x4 const0
;; @0038 v5 = extractlane v3, 0
;; @0038 v6 = call fn0(v0, v5)
;; @0038 v7 = insertlane v4, v6, 0 ; v4 = const0
;; @0038 v8 = extractlane v3, 1
;; @0038 v9 = call fn0(v0, v8)
;; @0038 v10 = insertlane v7, v9, 1
;; @0038 v11 = extractlane v3, 2
;; @0038 v12 = call fn0(v0, v11)
;; @0038 v13 = insertlane v10, v12, 2
;; @0038 v14 = extractlane v3, 3
;; @0038 v15 = call fn0(v0, v14)
;; @0038 v16 = insertlane v13, v15, 3
;; @003a v17 = bitcast.i8x16 little v16
;; @003a jump block1
;;
;; block1:
;; @003a return v17
;; }
;;
;; function u0:4(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; sig0 = (i64 vmctx, f64) -> f64 tail
;; fn0 = colocated u805306368:28 sig0
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @003f v3 = bitcast.f64x2 little v2
;; @003f v4 = vconst.f64x2 const0
;; @003f v5 = extractlane v3, 0
;; @003f v6 = call fn0(v0, v5)
;; @003f v7 = insertlane v4, v6, 0 ; v4 = const0
;; @003f v8 = extractlane v3, 1
;; @003f v9 = call fn0(v0, v8)
;; @003f v10 = insertlane v7, v9, 1
;; @0041 v11 = bitcast.i8x16 little v10
;; @0041 jump block1
;;
;; block1:
;; @0041 return v11
;; }
;;
;; function u0:5(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; sig0 = (i64 vmctx, f64) -> f64 tail
;; fn0 = colocated u805306368:30 sig0
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @0046 v3 = bitcast.f64x2 little v2
;; @0046 v4 = vconst.f64x2 const0
;; @0046 v5 = extractlane v3, 0
;; @0046 v6 = call fn0(v0, v5)
;; @0046 v7 = insertlane v4, v6, 0 ; v4 = const0
;; @0046 v8 = extractlane v3, 1
;; @0046 v9 = call fn0(v0, v8)
;; @0046 v10 = insertlane v7, v9, 1
;; @0048 v11 = bitcast.i8x16 little v10
;; @0048 jump block1
;;
;; block1:
;; @0048 return v11
;; }
;;
;; function u0:6(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; sig0 = (i64 vmctx, f64) -> f64 tail
;; fn0 = colocated u805306368:32 sig0
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @004d v3 = bitcast.f64x2 little v2
;; @004d v4 = vconst.f64x2 const0
;; @004d v5 = extractlane v3, 0
;; @004d v6 = call fn0(v0, v5)
;; @004d v7 = insertlane v4, v6, 0 ; v4 = const0
;; @004d v8 = extractlane v3, 1
;; @004d v9 = call fn0(v0, v8)
;; @004d v10 = insertlane v7, v9, 1
;; @004f v11 = bitcast.i8x16 little v10
;; @004f jump block1
;;
;; block1:
;; @004f return v11
;; }
;;
;; function u0:7(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; sig0 = (i64 vmctx, f64) -> f64 tail
;; fn0 = colocated u805306368:34 sig0
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @0054 v3 = bitcast.f64x2 little v2
;; @0054 v4 = vconst.f64x2 const0
;; @0054 v5 = extractlane v3, 0
;; @0054 v6 = call fn0(v0, v5)
;; @0054 v7 = insertlane v4, v6, 0 ; v4 = const0
;; @0054 v8 = extractlane v3, 1
;; @0054 v9 = call fn0(v0, v8)
;; @0054 v10 = insertlane v7, v9, 1
;; @0057 v11 = bitcast.i8x16 little v10
;; @0057 jump block1
;;
;; block1:
;; @0057 return v11
;; }
;;
;; function u0:8(i64 vmctx, i64, i8x16) -> i8x16 tail {
;; region0 = 123 ""
;; region1 = 160 ""
;; gv0 = vmctx
;; gv1 = load.i64 notrap aligned readonly can_move region0 gv0+8
;; gv2 = load.i64 notrap aligned region1 gv1+24
;; const0 = 0x00000000000000000000000000000000
;; stack_limit = gv2
;;
;; block0(v0: i64, v1: i64, v2: i8x16):
;; @005c v3 = bitcast.f64x2 little v2
;; @005c v4 = extractlane v3, 0
;; @005c v5 = extractlane v3, 1
;; @005c v6 = fcvt_to_uint_sat.i32 v4
;; @005c v7 = fcvt_to_uint_sat.i32 v5
;; @005c v8 = vconst.i32x4 const0
;; @005c v9 = insertlane v8, v6, 0 ; v8 = const0
;; @005c v10 = insertlane v9, v7, 1
;; @005f v11 = bitcast.i8x16 little v10
;; @005f jump block1
;;
;; block1:
;; @005f return v11
;; }