aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/m32r/mvtc.cgs
blob: 94780dfa11a26c131249a1346e44824e3fabadf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# m32r testcase for mvtc $sr,$dcr
# mach(): m32r m32rx

	.include "testutils.inc"

	start

	.global mvtc
mvtc:
	mvi_h_condbit 0
	mvi_h_gr r4, 1

	mvtc r4, cr1
	bc ok

	fail
ok:
	pass