Add support to GDB for the Renesas rl78 architecture.
[external/binutils.git] / sim / testsuite / sim / sh64 / compact / shll8.cgs
1 # sh testcase for shll8 $rn -*- Asm -*-
2 # mach: all
3 # as: -isa=shcompact
4 # ld: -m shelf32
5
6         .include "compact/testutils.inc"
7
8         start
9
10         .global shll8
11 shll8:
12         mov #1, r1
13         shll8 r1
14         shll8 r1
15         shll8 r1
16         shll8 r1
17         assert r1, #0
18
19 another:
20         mov #1, r1
21         shll8 r1
22         mov #1, r7
23         shll r7
24         shll r7
25         shll r7
26         shll r7
27         shll r7
28         shll r7
29         shll r7
30         shll r7
31         cmp/eq r1, r7
32         bf wrong
33
34 okay:
35         pass
36
37 wrong:
38         fail