Sha256: 5a60ac5df014152cb7630121bf97b143075211a738717993c17a70ea9519ac49

Contents?: true

Size: 1.53 KB

Versions: 38

Compression:

Stored size: 1.53 KB

Contents

#include "psm.h"

.text
.globl rust_psm_stack_direction
.p2align 2
.type rust_psm_stack_direction,@function
rust_psm_stack_direction:
/* extern "C" fn() -> u8 */
.cfi_startproc
    li x10, STACK_DIRECTION_DESCENDING
    jr x1
.rust_psm_stack_direction_end:
.size       rust_psm_stack_direction,.rust_psm_stack_direction_end-rust_psm_stack_direction
.cfi_endproc


.globl rust_psm_stack_pointer
.p2align 2
.type rust_psm_stack_pointer,@function
rust_psm_stack_pointer:
/* extern "C" fn() -> *mut u8 */
.cfi_startproc
    add x10, x2, x0
    jr x1
.rust_psm_stack_pointer_end:
.size       rust_psm_stack_pointer,.rust_psm_stack_pointer_end-rust_psm_stack_pointer
.cfi_endproc


.globl rust_psm_replace_stack
.p2align 2
.type rust_psm_replace_stack,@function
rust_psm_replace_stack:
/* extern "C" fn(x10: usize, x11: extern "C" fn(usize), x12: *mut u8) */
.cfi_startproc
    add x2, x12, x0
    jr x11
.rust_psm_replace_stack_end:
.size       rust_psm_replace_stack,.rust_psm_replace_stack_end-rust_psm_replace_stack
.cfi_endproc


.globl rust_psm_on_stack
.p2align 2
.type rust_psm_on_stack,@function
rust_psm_on_stack:
/* extern "C" fn(x10: usize, x11: usize, x12: extern "C" fn(usize, usize), x13: *mut u8) */
.cfi_startproc
    sd x1, -8(x13)
    sd x2, -16(x13)
    addi x2, x13, -16
    .cfi_def_cfa x2, 16
    .cfi_offset x1, -8
    .cfi_offset x2, -16
    jalr x1, x12, 0
    ld x1, 8(x2)
    .cfi_restore x1
    ld x2, 0(x2)
    .cfi_restore x2
    jr x1
.rust_psm_on_stack_end:
.size       rust_psm_on_stack,.rust_psm_on_stack_end-rust_psm_on_stack
.cfi_endproc

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
wasmtime-29.0.0 ./ext/cargo-vendor/psm-0.1.24/src/arch/riscv64.s
wasmtime-28.0.0 ./ext/cargo-vendor/psm-0.1.24/src/arch/riscv64.s
wasmtime-27.0.0 ./ext/cargo-vendor/psm-0.1.24/src/arch/riscv64.s
wasmtime-26.0.0 ./ext/cargo-vendor/psm-0.1.23/src/arch/riscv64.s
wasmtime-25.0.2 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-25.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-25.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-24.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-23.0.2 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-22.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-21.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-20.0.2 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-20.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-18.0.3 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-17.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-17.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-16.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-15.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-15.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s
wasmtime-14.0.4 ./ext/cargo-vendor/psm-0.1.21/src/arch/riscv64.s