aboutsummaryrefslogtreecommitdiff
path: root/sim/testsuite/m32r/beq.cgs
blob: c4d6d8bf0aa5ab965e056185396d3f9c5c8699ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# m32r testcase for beq $src1,$src2,$disp16
# mach(): m32r m32rx

	.include "testutils.inc"

	start

	.global beq
beq:
	mvi_h_condbit 0
	mvi_h_gr r4, 12
	mvi_h_gr r5, 12
	beq r4, r5, ok
not_ok:
	fail
ok:
	mvi_h_gr r5, 11
	beq r4, r5, not_ok

	pass