1 /*
2 * Alpha optimized DSP utils
3 * copyright (c) 2002 Falk Hueffner <falk@debian.org>
4 *
5 * This file is part of FFmpeg.
6 *
7 * FFmpeg is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * FFmpeg is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with FFmpeg; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 */
21
22 /* Some BSDs don't seem to have regdef.h... sigh */
23 #ifndef AVCODEC_ALPHA_REGDEF_H
24 #define AVCODEC_ALPHA_REGDEF_H
25
26 #define v0 0ドル /* function return value */
27
28 #define t0 1ドル /* temporary registers (caller-saved) */
36
37 #define s0 9ドル /* saved-registers (callee-saved registers) */
44 #define fp s6 /* frame-pointer (s6 in frame-less procedures) */
45
46 #define a0 16ドル /* argument registers (caller-saved) */
52
53 #define t8 22ドル /* more temps (caller-saved) */
57 #define ra 26ドル /* return address register */
59
60 #define pv t12 /* procedure-variable register */
61 #define AT $at /* assembler temporary */
62 #define gp 29ドル /* global pointer */
63 #define sp 30ドル /* stack pointer */
64 #define zero 31ドル /* reads as zero, writes are noops */
65
66 /* Some nicer register names. */
71 /* Danger: these overlap with the argument list and the return value */
76
77 #endif /* AVCODEC_ALPHA_REGDEF_H */