annotate alpha/regdef.h @ 3699:c537a97eec66 libavcodec

Add official LGPL license headers to the files that were missing them.
author diego
date Sun, 10 Sep 2006 14:02:42 +0000
parents cab79946302f
children c8c591fe26f8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
1 /*
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
2 * Alpha optimized DSP utils
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
3 * copyright (c) 2002 Falk Hueffner <falk@debian.org>
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
4 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
5 * This library is free software; you can redistribute it and/or
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
6 * modify it under the terms of the GNU Lesser General Public
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
7 * License as published by the Free Software Foundation; either
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
8 * version 2 of the License, or (at your option) any later version.
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
9 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
10 * This library is distributed in the hope that it will be useful,
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
13 * Lesser General Public License for more details.
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
14 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
15 * You should have received a copy of the GNU Lesser General Public
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
16 * License along with this library; if not, write to the Free Software
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
18 */
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
19
509
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
20 /* Some BSDs don't seem to have regdef.h... sigh */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
21 #ifndef alpha_regdef_h
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
22 #define alpha_regdef_h
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
23
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
24 #define v0 $0 /* function return value */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
25
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
26 #define t0 $1 /* temporary registers (caller-saved) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
27 #define t1 $2
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
28 #define t2 $3
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
29 #define t3 $4
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
30 #define t4 $5
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
31 #define t5 $6
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
32 #define t6 $7
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
33 #define t7 $8
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
34
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
35 #define s0 $9 /* saved-registers (callee-saved registers) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
36 #define s1 $10
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
37 #define s2 $11
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
38 #define s3 $12
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
39 #define s4 $13
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
40 #define s5 $14
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
41 #define s6 $15
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
42 #define fp s6 /* frame-pointer (s6 in frame-less procedures) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
43
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
44 #define a0 $16 /* argument registers (caller-saved) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
45 #define a1 $17
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
46 #define a2 $18
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
47 #define a3 $19
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
48 #define a4 $20
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
49 #define a5 $21
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
50
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
51 #define t8 $22 /* more temps (caller-saved) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
52 #define t9 $23
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
53 #define t10 $24
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
54 #define t11 $25
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
55 #define ra $26 /* return address register */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
56 #define t12 $27
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
57
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
58 #define pv t12 /* procedure-variable register */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
59 #define AT $at /* assembler temporary */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
60 #define gp $29 /* global pointer */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
61 #define sp $30 /* stack pointer */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
62 #define zero $31 /* reads as zero, writes are noops */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
63
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
64 #endif /* alpha_regdef_h */