summaryrefslogtreecommitdiff
path: root/sim/testsuite/sim/sh64/compact/div0u.cgs
blob: 02f8534d4c49416637e280525579e68a45ec35f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# sh testcase for div0u -*- Asm -*-
# mach: all
# as: -isa=shcompact
# ld: -m shelf32

	.include "compact/testutils.inc"

	start

	.global div0u
div0u:
	div0u
	# Can't easily test Q and M (other than visually inspecting
	# the simulator's trace output).
	bt wrong

okay:	
	pass

wrong:
	fail