FFmpeg: libavcodec/alpha/regdef.h Source File

FFmpeg
regdef.h
Go to the documentation of this file.
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) */
29  #define t1 2ドル
30  #define t2 3ドル
31  #define t3 4ドル
32  #define t4 5ドル
33  #define t5 6ドル
34  #define t6 7ドル
35  #define t7 8ドル
36 
37  #define s0 9ドル /* saved-registers (callee-saved registers) */
38  #define s1 10ドル
39  #define s2 11ドル
40  #define s3 12ドル
41  #define s4 13ドル
42  #define s5 14ドル
43  #define s6 15ドル
44  #define fp s6 /* frame-pointer (s6 in frame-less procedures) */
45 
46  #define a0 16ドル /* argument registers (caller-saved) */
47  #define a1 17ドル
48  #define a2 18ドル
49  #define a3 19ドル
50  #define a4 20ドル
51  #define a5 21ドル
52 
53  #define t8 22ドル /* more temps (caller-saved) */
54  #define t9 23ドル
55  #define t10 24ドル
56  #define t11 25ドル
57  #define ra 26ドル /* return address register */
58  #define t12 27ドル
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. */
67  #define ta t10
68  #define tb t11
69  #define tc t12
70  #define td AT
71 /* Danger: these overlap with the argument list and the return value */
72  #define te a5
73  #define tf a4
74  #define tg a3
75  #define th v0
76 
77 #endif /* AVCODEC_ALPHA_REGDEF_H */

Generated on Wed Aug 24 2022 21:37:25 for FFmpeg by   doxygen 1.8.17

AltStyle によって変換されたページ (->オリジナル) /