daily update
[external/binutils.git] / sim / testsuite / sim / sh64 / compact / sts-mach.cgs
1 # sh testcase for sts mach, $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 sts_mach
11 sts_mach:
12         mov #42, r0
13         lds r0, mach
14         sts mach, r1
15         cmp/eq r0, r1
16         bf wrong
17
18 okay:
19         pass
20 wrong:
21         fail
22