Skip to content

Commit

Permalink
Merge pull request #150 from athenavm/fix/remove-custom-memcpy-memset…
Browse files Browse the repository at this point in the history
…-impls

remove custom implementations of memcpy and memset
  • Loading branch information
lrettig authored Oct 14, 2024
2 parents ba34078 + e881b9c commit 0f6c1f0
Show file tree
Hide file tree
Showing 17 changed files with 0 additions and 2,147 deletions.
Binary file modified examples/fibonacci/program/elf/fibonacci-program
Binary file not shown.
Binary file modified examples/hello_world/program/elf/hello-world-program
Binary file not shown.
Binary file modified examples/io/program/elf/io-program
Binary file not shown.
Binary file modified examples/wallet/program/elf/wallet-template
Binary file not shown.
Binary file modified tests/entrypoint/elf/entrypoint-test
Binary file not shown.
Binary file modified tests/fibonacci/elf/fibonacci-test
Binary file not shown.
Binary file modified tests/hint-io/elf/hint-io-test
Binary file not shown.
Binary file modified tests/host/elf/host-test
Binary file not shown.
Binary file modified tests/panic/elf/panic-test
Binary file not shown.
Binary file modified tests/recursive_call/elf/recursive-call-test
Binary file not shown.
Binary file modified tests/stack_depth/elf/stack-depth-test
Binary file not shown.
30 changes: 0 additions & 30 deletions tools/compile_musl_memtools.sh

This file was deleted.

9 changes: 0 additions & 9 deletions vm/entrypoint/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,6 @@ mod vm {

static STACK_TOP: u32 = 0x0020_0400;

#[cfg(feature = "rv32e")]
core::arch::global_asm!(include_str!("memset-rv32e.s"));
#[cfg(feature = "rv32e")]
core::arch::global_asm!(include_str!("memcpy-rv32e.s"));
#[cfg(not(feature = "rv32e"))]
core::arch::global_asm!(include_str!("memset.s"));
#[cfg(not(feature = "rv32e"))]
core::arch::global_asm!(include_str!("memcpy.s"));

core::arch::global_asm!(
r#"
.section .text._start;
Expand Down
Loading

0 comments on commit 0f6c1f0

Please sign in to comment.