1 # See LICENSE for license details.
3 #*****************************************************************************
5 #-----------------------------------------------------------------------------
7 # Test amoor.d instruction.
10 #include "riscv_test.h"
11 #include "test_macros.h"
16 TEST_CASE(2, a4, 0xffffffff80000000, \
17 li a0, 0xffffffff80000000; \
18 li a1, 0xfffffffffffff800; \
21 amoor.d a4, a1, 0(a3); \
24 TEST_CASE(3, a5, 0xfffffffffffff800, ld a5, 0(a3))
26 # try again after a cache miss
27 TEST_CASE(4, a4, 0xfffffffffffff800, \
29 amoor.d a4, a1, 0(a3); \
32 TEST_CASE(5, a5, 0xfffffffffffff801, ld a5, 0(a3))