1 #*****************************************************************************
3 #-----------------------------------------------------------------------------
5 # Test amoadd.w instruction.
8 #include "riscv_test.h"
9 #include "test_macros.h"
14 TEST_CASE(2, a4, 0x80000000, \
26 amoadd.w a4, a1, 0(a3); \
29 TEST_CASE(3, a5, 0x7ffff800, lw a5, 0(a3))
31 # try again after a cache miss
32 TEST_CASE(4, a4, 0x7ffff800, \
43 amoadd.w a4, a1, 0(a3); \
46 TEST_CASE(5, a5, 0xfffff800, lw a5, 0(a3))