From 21418fd6df114bbe354d7c5e64de20e0b7dc5a10 Mon Sep 17 00:00:00 2001 From: Clo91eaf Date: Wed, 23 Oct 2024 17:11:10 +0800 Subject: [PATCH] [cases] load data in vdata section --- tests/asm/smoke/smoke.S | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/asm/smoke/smoke.S b/tests/asm/smoke/smoke.S index 7c458acf7..17b16a413 100644 --- a/tests/asm/smoke/smoke.S +++ b/tests/asm/smoke/smoke.S @@ -5,7 +5,7 @@ test: li a1, 0xc3 li a2, 0x10 vsetvl x0, a0, a1 - lui x30, 1 + la x30, test_src_start auipc x31, 0 add_test: @@ -31,3 +31,8 @@ loop: will_not_be_executed: vadd.vv v2, v1, v1 + +.section .vbss, "aw", @nobits +.balign 64 +test_src_start: + .zero 8 \ No newline at end of file