Sha256: 8bcdca0741c0cfd164e4541e0eaf00c80ca156479cd8a9c617bd388797551d5e

Contents?: true

Size: 1.53 KB

Versions: 38

Compression:

Stored size: 1.53 KB

Contents

#include "psm.h"

.text
.globl rust_psm_stack_direction
.align 2
.type rust_psm_stack_direction,@function
rust_psm_stack_direction:
/* extern "C" fn() -> u8 */
.cfi_startproc
    li.w $r4, STACK_DIRECTION_DESCENDING
    jr $r1
.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
.align 2
.type rust_psm_stack_pointer,@function
rust_psm_stack_pointer:
/* extern "C" fn() -> *mut u8 */
.cfi_startproc
    move $r4, $r3
    jr $r1
.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
.align 2
.type rust_psm_replace_stack,@function
rust_psm_replace_stack:
/* extern "C" fn(r4: usize, r5: extern "C" fn(usize), r6: *mut u8) */
.cfi_startproc
    move $r3, $r6
    jr $r5
.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
.align 2
.type rust_psm_on_stack,@function
rust_psm_on_stack:
/* extern "C" fn(r4: usize, r5: usize, r6: extern "C" fn(usize, usize), r7: *mut u8) */
.cfi_startproc
    st.d $r1, $r7, -8
    st.d $r3, $r7, -16
    addi.d $r3, $r7, -16
    .cfi_def_cfa 3, 16
    .cfi_offset 1, -8
    .cfi_offset 3, -16
    jirl $r1, $r6, 0
    ld.d $r1, $r3, 8
    .cfi_restore 1
    ld.d $r3, $r3, 0
    .cfi_restore 3
    jr $r1
.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/loongarch64.s
wasmtime-28.0.0 ./ext/cargo-vendor/psm-0.1.24/src/arch/loongarch64.s
wasmtime-27.0.0 ./ext/cargo-vendor/psm-0.1.24/src/arch/loongarch64.s
wasmtime-26.0.0 ./ext/cargo-vendor/psm-0.1.23/src/arch/loongarch64.s
wasmtime-25.0.2 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-25.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-25.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-24.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-23.0.2 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-22.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-21.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-20.0.2 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-20.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-18.0.3 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-17.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-17.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-16.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-15.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-15.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-14.0.4 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s