OSDN Git Service

Initial revision
[pf3gnuchains/pf3gnuchains4x.git] / sim / testsuite / sim / fr30 / copst.cgs
1 # fr30 testcase for copst $u4,$cc,$CRj,Ri
2 # mach(): fr30
3
4         .include "testutils.inc"
5
6         START
7
8         .text
9         .global copst
10 copst:
11         ; Test copst copst $u4,$cc,$CRj,Ri
12         ; The current implementation is a noop
13         set_cc          0x0f            ; Condition codes are irrelevent
14         copst           0,0,cr0,r15
15         test_cc         1 1 1 1
16
17         set_cc          0x0e            ; Condition codes are irrelevent
18         copst           15,255,cr15,r0
19         test_cc         1 1 1 0
20
21         pass