1 # frv testcase for ldqc @($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_cpr_limmed 0xdead,0xbeef,cpr8
18 set_cpr_limmed 0xbeef,0xdead,cpr9
19 set_cpr_limmed 0x1234,0x5678,cpr10
20 set_cpr_limmed 0x9abc,0xdef0,cpr11
23 ;loading into cpr0 is business as usual
25 test_cpr_limmed 0x9abc,0xdef0,cpr0
26 test_cpr_limmed 0x1234,0x5678,cpr1
27 test_cpr_limmed 0xbeef,0xdead,cpr2
28 test_cpr_limmed 0xdead,0xbeef,cpr3
31 test_cpr_limmed 0x9abc,0xdef0,cpr8
32 test_cpr_limmed 0x1234,0x5678,cpr9
33 test_cpr_limmed 0xbeef,0xdead,cpr10
34 test_cpr_limmed 0xdead,0xbeef,cpr11
36 set_cpr_limmed 0xdead,0xbeef,cpr8
37 set_cpr_limmed 0xbeef,0xdead,cpr9
38 set_cpr_limmed 0x1234,0x5678,cpr10
39 set_cpr_limmed 0x9abc,0xdef0,cpr11
43 test_cpr_limmed 0x9abc,0xdef0,cpr8
44 test_cpr_limmed 0x1234,0x5678,cpr9
45 test_cpr_limmed 0xbeef,0xdead,cpr10
46 test_cpr_limmed 0xdead,0xbeef,cpr11
48 set_cpr_limmed 0xdead,0xbeef,cpr8
49 set_cpr_limmed 0xbeef,0xdead,cpr9
50 set_cpr_limmed 0x1234,0x5678,cpr10
51 set_cpr_limmed 0x9abc,0xdef0,cpr11
55 test_cpr_limmed 0x9abc,0xdef0,cpr8
56 test_cpr_limmed 0x1234,0x5678,cpr9
57 test_cpr_limmed 0xbeef,0xdead,cpr10
58 test_cpr_limmed 0xdead,0xbeef,cpr11