Skip to content

Commit

Permalink
[tests] fix eval.memcpy
Browse files Browse the repository at this point in the history
  • Loading branch information
FanShupei committed Nov 21, 2024
1 parent d44e897 commit 2d5568d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/eval/memcpy/memcpy.S
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ test:

# fill 0x1001000 with 0x55 x 4096 bytes
# a0: void* dest, a1: int n, a2: size_t len
lw a0, test_src_start
la a0, test_src_start
li a1, 0x55
li a2, 0x1000
call memset
# copy 0x1001000 to 0x1000000 with 4096 bytes
# a0: void* dest, a1: void* src, a2: size_t n
lw a0, test_src_start
lw a1, test_dst_start
la a0, test_src_start
la a1, test_dst_start
li a2, 0x1000
call memcpy

Expand Down

0 comments on commit 2d5568d

Please sign in to comment.