[rv64ua/lrsc] Initialize memory read out. (#135)
[riscv-tests.git] / isa / rv64ua / lrsc.S
index 11eb7de14a311e11ba8915b50fd2cadb6f198340..14ef07de5cd53bbebefecfda77dea0e2c993cfb7 100644 (file)
@@ -35,7 +35,7 @@ TEST_CASE( 2, a4, 1, \
 # TODO is this actually mandatory behavior?
 TEST_CASE( 3, a4, 1, \
   la a0, foo; \
-  add a1, a0, 1024; \
+  la a1, fooTest3; \
   lr.w a1, (a1); \
   sc.w a4, a1, (a0); \
 )
@@ -82,4 +82,6 @@ RVTEST_DATA_BEGIN
 coreid: .word 0
 barrier: .word 0
 foo: .word 0
+.skip 1024
+fooTest3: .word 0
 RVTEST_DATA_END