A lightweight WebAssembly runtime that is fast, secure, and standards-compliant
;;! target = "s390x"
;;! test = "compile"
;;! objdump = "--filter array_to_wasm --funcs all"
(module (func (export "")))
;; wasm[0]::array_to_wasm_trampoline[0]:
;; stmg %r6, %r15, 0x30(%r15)
;; lgr %r1, %r15
;; aghi %r15, -0xe8
;; stg %r1, 0(%r15)
;; std %f8, 0xa8(%r15)
;; std %f9, 0xb0(%r15)
;; std %f10, 0xb8(%r15)
;; std %f11, 0xc0(%r15)
;; std %f12, 0xc8(%r15)
;; std %f13, 0xd0(%r15)
;; std %f14, 0xd8(%r15)
;; std %f15, 0xe0(%r15)
;; lg %r4, 0(%r15)
;; lg %r5, 8(%r2)
;; stg %r4, 0x48(%r5)
;; lgr %r4, %r15
;; stg %r4, 0x40(%r5)
;; larl %r4, 0xc4
;; stg %r4, 0x50(%r5)
;; stg %r5, 0xa0(%r15)
;; brasl %r14, 0
;; ├─╼ exception frame offset: SP = FP - 0xe8
;; ╰─╼ exception handler: default handler, no dynamic context, handler=0xc4
;; lhi %r2, 1
;; ld %f8, 0xa8(%r15)
;; ld %f9, 0xb0(%r15)
;; ld %f10, 0xb8(%r15)
;; ld %f11, 0xc0(%r15)
;; ld %f12, 0xc8(%r15)
;; ld %f13, 0xd0(%r15)
;; ld %f14, 0xd8(%r15)
;; ld %f15, 0xe0(%r15)
;; lmg %r6, %r15, 0x118(%r15)
;; br %r14
;; lg %r5, 0xa0(%r15)
;; mvghi 0x88(%r5), 1
;; mvghi 0x98(%r5), 0
;; lhi %r2, 0
;; ld %f8, 0xa8(%r15)
;; ld %f9, 0xb0(%r15)
;; ld %f10, 0xb8(%r15)
;; ld %f11, 0xc0(%r15)
;; ld %f12, 0xc8(%r15)
;; ld %f13, 0xd0(%r15)
;; ld %f14, 0xd8(%r15)
;; ld %f15, 0xe0(%r15)
;; lmg %r6, %r15, 0x118(%r15)
;; br %r14