1 # frv testcase for ldq @($GRi,$GRj),$GRk
4 .include "testutils.inc"
10 set_mem_limmed 0xdead,0xbeef,sp
12 set_mem_limmed 0xbeef,0xdead,sp
14 set_mem_limmed 0x1234,0x5678,sp
16 set_mem_limmed 0x9abc,0xdef0,sp
17 set_gr_limmed 0xdead,0xbeef,gr8
18 set_gr_limmed 0xbeef,0xdead,gr9
19 set_gr_limmed 0x1234,0x5678,gr10
20 set_gr_limmed 0x9abc,0xdef0,gr11
24 test_gr_limmed 0x9abc,0xdef0,gr8
25 test_gr_limmed 0x1234,0x5678,gr9
26 test_gr_limmed 0xbeef,0xdead,gr10
27 test_gr_limmed 0xdead,0xbeef,gr11
29 set_gr_limmed 0xdead,0xbeef,gr8
30 set_gr_limmed 0xbeef,0xdead,gr9
31 set_gr_limmed 0x1234,0x5678,gr10
32 set_gr_limmed 0x9abc,0xdef0,gr11
36 test_gr_limmed 0x9abc,0xdef0,gr8
37 test_gr_limmed 0x1234,0x5678,gr9
38 test_gr_limmed 0xbeef,0xdead,gr10
39 test_gr_limmed 0xdead,0xbeef,gr11
41 set_gr_limmed 0xdead,0xbeef,gr8
42 set_gr_limmed 0xbeef,0xdead,gr9
43 set_gr_limmed 0x1234,0x5678,gr10
44 set_gr_limmed 0x9abc,0xdef0,gr11
48 test_gr_limmed 0x9abc,0xdef0,gr8
49 test_gr_limmed 0x1234,0x5678,gr9
50 test_gr_limmed 0xbeef,0xdead,gr10
51 test_gr_limmed 0xdead,0xbeef,gr11
53 ; loading into gr0 has no effect
56 set_gr_limmed 0x1234,0x5678,gr2
57 set_gr_limmed 0x9abc,0xdef0,gr3
61 set_gr_immed 0x12345678,gr2
62 set_gr_immed 0x9abcdef0,gr3