annotate alpha/regdef.h @ 8679:9c1ea156d893 libavcodec

ARM: replace explicit literal loads with ldr Rd, =lit
author mru
date Tue, 27 Jan 2009 16:06:44 +0000
parents c4a4495715dd
children
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 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
5 * This file is part of FFmpeg.
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
6 *
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
7 * FFmpeg is free software; you can redistribute it and/or
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
8 * 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
9 * License as published by the Free Software Foundation; either
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
10 * version 2.1 of the License, or (at your option) any later version.
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
11 *
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
12 * FFmpeg is distributed in the hope that it will be useful,
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
13 * 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
14 * 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
15 * 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
16 *
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
17 * You should have received a copy of the GNU Lesser General Public
3947
c8c591fe26f8 Change license headers to say 'FFmpeg' instead of 'this program/this library'
diego
parents: 3699
diff changeset
18 * License along with FFmpeg; if not, write to the Free Software
3699
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
19 * 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
20 */
c537a97eec66 Add official LGPL license headers to the files that were missing them.
diego
parents: 509
diff changeset
21
509
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
22 /* Some BSDs don't seem to have regdef.h... sigh */
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
23 #ifndef AVCODEC_ALPHA_REGDEF_H
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
24 #define AVCODEC_ALPHA_REGDEF_H
509
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 v0 $0 /* function return value */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
27
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
28 #define t0 $1 /* temporary registers (caller-saved) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
29 #define t1 $2
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
30 #define t2 $3
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
31 #define t3 $4
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
32 #define t4 $5
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
33 #define t5 $6
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
34 #define t6 $7
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
35 #define t7 $8
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
36
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
37 #define s0 $9 /* saved-registers (callee-saved registers) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
38 #define s1 $10
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
39 #define s2 $11
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
40 #define s3 $12
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
41 #define s4 $13
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
42 #define s5 $14
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
43 #define s6 $15
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
44 #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
45
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
46 #define a0 $16 /* argument registers (caller-saved) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
47 #define a1 $17
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
48 #define a2 $18
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
49 #define a3 $19
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
50 #define a4 $20
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
51 #define a5 $21
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
52
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
53 #define t8 $22 /* more temps (caller-saved) */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
54 #define t9 $23
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
55 #define t10 $24
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
56 #define t11 $25
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
57 #define ra $26 /* return address register */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
58 #define t12 $27
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
59
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
60 #define pv t12 /* procedure-variable register */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
61 #define AT $at /* assembler temporary */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
62 #define gp $29 /* global pointer */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
63 #define sp $30 /* stack pointer */
cab79946302f Implement put_pixels_clamped and add_pixels_clamped in Assembler. This
mellum
parents:
diff changeset
64 #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
65
7760
c4a4495715dd Globally rename the header inclusion guard names.
stefano
parents: 5830
diff changeset
66 #endif /* AVCODEC_ALPHA_REGDEF_H */