* Contribute Hitachi SH5 simulator.
[deliverable/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / cmppl.cgs
1 # sh testcase for cmp/pl $rn -*- Asm -*-
2 # mach: all
3 # as: -isa=shcompact
4 # ld: -m shelf32
5
6 .include "compact/testutils.inc"
7
8 start
9
10 zero:
11 mov #0, r0
12 cmp/pl r0
13 bt wrong
14
15 plus:
16 mov #10, r0
17 cmp/pl r0
18 bf wrong
19
20 minus:
21 mov #10, r0
22 neg r0, r0
23 cmp/pl r0
24 bt wrong
25
26 large:
27 mov #10, r0
28 shll8 r0
29 add #123, r0
30 cmp/pl r0
31 bf wrong
32
33 okay:
34 pass
35
36 wrong:
37 fail
This page took 0.036923 seconds and 5 git commands to generate.