aboutsummaryrefslogtreecommitdiff
path: root/isa/rv64mi/ma_addr.S
diff options
context:
space:
mode:
Diffstat (limited to 'isa/rv64mi/ma_addr.S')
-rw-r--r--isa/rv64mi/ma_addr.S7
1 files changed, 5 insertions, 2 deletions
diff --git a/isa/rv64mi/ma_addr.S b/isa/rv64mi/ma_addr.S
index c84242a..6e7be94 100644
--- a/isa/rv64mi/ma_addr.S
+++ b/isa/rv64mi/ma_addr.S
@@ -13,9 +13,9 @@
RVTEST_RV64M
RVTEST_CODE_BEGIN
- .align 3
.option norvc
- auipc s0, 0
+
+ la s0, data
# indicate it's a load test
li s1, CAUSE_MISALIGNED_LOAD
@@ -80,6 +80,9 @@ RVTEST_CODE_END
.data
RVTEST_DATA_BEGIN
+data:
+ .dword 0
+
TEST_DATA
RVTEST_DATA_END