Upload Tizen:Base source
[external/gdb.git] / sim / testsuite / sim / sh64 / compact / div0u.cgs
1 # sh testcase for div0u -*- Asm -*-
2 # mach: all
3 # as: -isa=shcompact
4 # ld: -m shelf32
5
6         .include "compact/testutils.inc"
7
8         start
9
10         .global div0u
11 div0u:
12         div0u
13         # Can't easily test Q and M (other than visually inspecting
14         # the simulator's trace output).
15         bt wrong
16
17 okay:   
18         pass
19
20 wrong:
21         fail