]> git.sesse.net Git - ffmpeg/blob - libavcodec/ppc/asm.S
abf63b1fd1f387be24e798ea520f7f314930894d
[ffmpeg] / libavcodec / ppc / asm.S
1 /*
2  * Copyright (c) 2009 Loren Merritt
3  *
4  * This file is part of FFmpeg.
5  *
6  * FFmpeg is free software; you can redistribute it and/or
7  * modify it under the terms of the GNU Lesser General Public
8  * License as published by the Free Software Foundation; either
9  * version 2.1 of the License, or (at your option) any later version.
10  *
11  * FFmpeg is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14  * Lesser General Public License for more details.
15  *
16  * You should have received a copy of the GNU Lesser General Public
17  * License along with FFmpeg; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19  */
20
21 #include "config.h"
22
23 #if HAVE_IBM_ASM
24
25 .macro DEFINE_REG n
26     .equiv r\n, \n
27     .equiv f\n, \n
28     .equiv v\n, \n
29 .endm
30
31 DEFINE_REG 0
32 DEFINE_REG 1
33 DEFINE_REG 2
34 DEFINE_REG 3
35 DEFINE_REG 4
36 DEFINE_REG 5
37 DEFINE_REG 6
38 DEFINE_REG 7
39 DEFINE_REG 8
40 DEFINE_REG 9
41 DEFINE_REG 10
42 DEFINE_REG 11
43 DEFINE_REG 12
44 DEFINE_REG 13
45 DEFINE_REG 14
46 DEFINE_REG 15
47 DEFINE_REG 16
48 DEFINE_REG 17
49 DEFINE_REG 18
50 DEFINE_REG 19
51 DEFINE_REG 20
52 DEFINE_REG 21
53 DEFINE_REG 22
54 DEFINE_REG 23
55 DEFINE_REG 24
56 DEFINE_REG 25
57 DEFINE_REG 26
58 DEFINE_REG 27
59 DEFINE_REG 28
60 DEFINE_REG 29
61 DEFINE_REG 30
62 DEFINE_REG 31
63
64 #endif /* HAVE_IBM_ASM */