* Contribute Hitachi SH5 simulator.
[deliverable/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / shll2.cgs
1 # sh testcase for shll2 $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 shll2
11 shll2:
12 mov #1, r1
13 shll2 r1
14 shll2 r1
15 shll2 r1
16 shll2 r1
17 shll2 r1
18 shll2 r1
19 shll2 r1
20 shll2 r1
21 shll2 r1
22 shll2 r1
23 shll2 r1
24 shll2 r1
25 shll2 r1
26 shll2 r1
27 shll2 r1
28 shll2 r1
29 assert r1, #0
30
31 another:
32 mov #1, r1
33 shll2 r1
34 assert r1, #4
35
36 okay:
37 pass
38
39 wrong:
40 fail
This page took 0.040239 seconds and 4 git commands to generate.