repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[PATCH 5/57][Arm][GAS] Add support for MVE instructions: vmull{b,t}
[binutils-gdb.git]
/
gdb
/
testsuite
/
gdb.asm
/
powerpc.inc
blob
ab700c27682013c0b97c2d8fd5d0aa66597ebfe4
1
comment "subroutine prologue"
2
.macro gdbasm_enter
3
stwu 1, -16(1)
4
stw 31, 8(1)
5
mr 31, 1
6
mflr 0
7
stw 0, 20(1)
8
.endm
9
10
comment "subroutine epilogue"
11
.macro gdbasm_leave
12
lwz 0, 20(1)
13
mtlr 0
14
lwz 31, 8(1)
15
lwz 1, 0(1)
16
blr
17
.endm
18
19
.macro gdbasm_call subr
20
bl \subr
21
.endm
22
23
.macro gdbasm_several_nops
24
nop
25
nop
26
nop
27
nop
28
.endm
29
30
comment "exit (0)"
31
.macro gdbasm_exit0
32
comment "sys_exit"
33
li 0, 1
34
sc
35
.endm
36
37
comment "crt0 startup"
38
.macro gdbasm_startup
39
.p2align 2
40
.endm
41
42
comment "Declare a data variable"
43
.purgem gdbasm_datavar
44
.macro gdbasm_datavar name value
45
.data
46
\name:
47
.long \value
48
.endm