[PATCH 5/57][Arm][GAS] Add support for MVE instructions: vmull{b,t}
[binutils-gdb.git] / gdb / testsuite / gdb.asm / bfin.inc
blob7428e3b754a994b28016728a4f3eac29e8ce54d5
1         comment "subroutine prologue"
2         .macro gdbasm_enter
3         LINK 12;
4         .endm
6         comment "subroutine epilogue"
7         .macro gdbasm_leave
8         UNLINK;
9         RTS;
10         .endm
12         .macro gdbasm_call subr
13         call \subr;
14         .endm
16         .macro gdbasm_several_nops
17         mnop;
18         mnop;
19         mnop;
20         mnop;
21         .endm
23         comment "exit (0)"
24         .macro gdbasm_exit0
25         R0 = 0;
26         EXCPT 0;
27         NOP;
28         .endm
30         comment "crt0 startup"
31         .macro gdbasm_startup
32         FP = 0;
33         LINK 0xc;
34         .endm
36         comment "Declare a data variable"
37         .purgem gdbasm_datavar
38         .macro gdbasm_datavar name value
39         .data
40         .align 4
41         .type   \name, @object
42         .size   \name, 4
43 \name:
44         .long \value
45         .endm