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-14.0.3 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-14.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-14.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-13.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-12.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-12.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-11.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-10.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-10.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-9.0.4 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-9.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-8.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-7.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-6.0.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-6.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-5.0.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-0.4.1 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s
wasmtime-0.4.0 ./ext/cargo-vendor/psm-0.1.21/src/arch/loongarch64.s