This commit was generated by cvs2svn to track changes on a CVS vendor
[external/binutils.git] / sim / testsuite / sim / sh64 / compact / movl6.cgs
1 # sh testcase for mov.l @$rm, $rn -*- Asm -*-
2 # mach: all
3 # as: -isa=shcompact
4 # ld: -m shelf32
5
6         .include "compact/testutils.inc"
7
8         start
9
10         mov #30, r0
11         shll8 r0
12         # Store something there first.
13         mov #170, r1
14         mov.l r1, @r0
15 check:  
16         # Load it back.
17         mov.l @r0, r3
18         cmp/eq r1, r3
19         bf wrong
20
21 okay:
22         pass
23 wrong:
24         fail
25