summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/fr30/copsv.cgs
blob: e00a4f5315ca0b14275f4acdf3ae79afb927414f (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 copsv $u4,$cc,$CRj,Ri
# mach(): fr30

	.include "testutils.inc"

	START

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

	set_cc          0x0e		; Condition codes are irrelevent
	copsv      	15,255,cr15,r0
	test_cc		1 1 1 0

	pass