1# sh testcase for shll $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 shll
11shll:
12	mov #1, r1
13	shll r1
14	shll r1
15	shll r1
16	shll r1
17	shll r1
18	shll r1
19	shll r1
20	shll r1
21	shll r1
22	shll r1
23	shll r1
24	shll r1
25	shll r1
26	shll r1
27	shll r1
28	shll r1
29	shll r1
30	shll r1
31	shll r1
32	shll r1
33	shll r1
34	shll r1
35	shll r1
36	shll r1
37	shll r1
38	shll r1
39	shll r1
40	shll r1
41	shll r1
42	shll r1
43	shll r1
44	shll r1
45	shll r1
46	assert r1, #0
47another:
48	mov #1, r1
49	shll r1
50	shll r1
51	shll r1
52	assert r1, #8
53
54okay:
55	pass
56wrong:
57	fail
58