From 2d5568d9133e85c2d10e421baaa637c2098c8a34 Mon Sep 17 00:00:00 2001 From: Shupei Fan Date: Thu, 21 Nov 2024 09:14:35 +0000 Subject: [PATCH] [tests] fix eval.memcpy --- tests/eval/memcpy/memcpy.S | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/eval/memcpy/memcpy.S b/tests/eval/memcpy/memcpy.S index 5277be663..ee656cc83 100644 --- a/tests/eval/memcpy/memcpy.S +++ b/tests/eval/memcpy/memcpy.S @@ -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