OSDN Git Service

modified: utilsrc/src/Admin/Makefile
[eos/others.git] / utilsrc / srcX86MAC64 / Admin / gdb-7.7.1 / sim / testsuite / sim / fr30 / ldres.cgs
1 # fr30 testcase for ldres $@Ri+,$u4
2 # mach(): fr30
3
4         .include "testutils.inc"
5
6         START
7
8         .text
9         .global ldres
10 ldres:
11         ; Test ldres $@Ri+,$u4
12         ; The current implementation simply increments Ri
13         mvi_h_gr        0x1000,r7
14         set_cc          0x0f            ; Condition codes are irrelevent
15         ldres           @r7+,0
16         test_cc         1 1 1 1
17         test_h_gr       0x1004,r7
18
19         mvi_h_gr        0x1000,r7
20         set_cc          0x0f            ; Condition codes are irrelevent
21         ldres           @r7+,0xf
22         test_cc         1 1 1 1
23         test_h_gr       0x1004,r7
24
25         pass