* sim/cris/asm/testutils.inc (test_h_mem): Use register prefix.
[deliverable/binutils-gdb.git] / sim / testsuite / sim / cris / asm / movmp8.ms
CommitLineData
632c75db
HPN
1# mach: crisv3 crisv8 crisv10
2
3# Make sure that "move [$sp=$sp+16],$p8" works; used in Linux.
4
5 .include "testutils.inc"
6 startnostack
7 move.d x,$sp
8 moveq 0,$r3
9 move [$sp=$sp+16],$p8
10 ; Z not changed.
11 bne 0f
12 nop
13 cmp.d x+16,$sp
14 bne 0f
15 nop
16 move $p8,$r3
17 ; Z not changed.
18 bne 0f
19 ; P8 still 0.
20 test.d $r3
21 bne 0f
22 nop
23 pass
240:
25 fail
26
27 .data
28x:
29 .dword 0xffffffff
30 .dword 0xffffffff
31 .dword 0xffffffff
32 .dword 0xffffffff
33 .dword 0xffffffff
This page took 0.032247 seconds and 4 git commands to generate.