]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blob - sim/testsuite/sim/fr30/copld.cgs
Initial creation of sourceware repository
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / fr30 / copld.cgs
1 # fr30 testcase for copld $u4,$cc,$Rj,CRi
2 # mach(): fr30
3
4 .include "testutils.inc"
5
6 START
7
8 .text
9 .global copld
10 copld:
11 ; Test copld copld $u4,$cc,$Rj,CRi
12 ; The current implementation is a noop
13 set_cc 0x0f ; Condition codes are irrelevent
14 copld 0,0,r0,cr15
15 test_cc 1 1 1 1
16
17 set_cc 0x0e ; Condition codes are irrelevent
18 copld 15,255,r15,cr0
19 test_cc 1 1 1 0
20
21 pass