]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - gdb/testsuite/gdb.asm/spu.inc
Change TUI window commands to be case-sensitive
[thirdparty/binutils-gdb.git] / gdb / testsuite / gdb.asm / spu.inc
CommitLineData
c1d88655
UW
1 comment "subroutine prologue"
2 .macro gdbasm_enter
3 stqd $lr, 16($sp)
4 stqd $sp, -32($sp)
5 ai $sp, $sp, -32
6 .endm
7
8 comment "subroutine epilogue"
9 .macro gdbasm_leave
10 ai $sp, $sp, 32
11 lqd $lr, 16($sp)
12 bi $lr
13 .endm
14
15 .macro gdbasm_call subr
16 brsl $lr, \subr
17 .endm
18
19 .macro gdbasm_several_nops
20 nop
21 nop
22 nop
23 nop
24 .endm
25
26 comment "exit (0)"
27 .macro gdbasm_exit0
28 stop 0x2000
29 stop
30 stop
31 stop
32 .endm
33
34 comment "startup"
35 .macro gdbasm_startup
36 il $0, 0
37 ila $sp, 16368
38 stqd $0, 0($sp)
39 stqd $sp, -32($sp)
40 ai $sp, $sp, -32
41 stqd $0, 16($sp)
42 .endm