summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/fr30/copop.cgs
blob: b0afd77005b60ebf3983f0b8eb7296a543812c7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# fr30 testcase for copop $u4,$cc,$CRj,CRi
# mach(): fr30

	.include "testutils.inc"

	START

	.text
	.global copop
copop:
	; Test copop copop $u4,$cc,$CRj,CRi
	; The current implementation is a noop
	set_cc          0x0f		; Condition codes are irrelevent
	copop      	0,0,cr0,cr15
	test_cc		1 1 1 1

	set_cc          0x0e		; Condition codes are irrelevent
	copop      	15,255,cr0,cr15
	test_cc		1 1 1 0

	pass