]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/powerpc/ppc_asm.h
update
[l4.git] / l4 / pkg / uclibc / lib / contrib / uclibc / libc / sysdeps / linux / powerpc / ppc_asm.h
1 /* Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
2    This file is part of the GNU C Library.
3
4    The GNU C Library is free software; you can redistribute it and/or
5    modify it under the terms of the GNU Lesser General Public
6    License as published by the Free Software Foundation; either
7    version 2.1 of the License, or (at your option) any later version.
8
9    The GNU C Library is distributed in the hope that it will be useful,
10    but WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    Lesser General Public License for more details.
13
14    You should have received a copy of the GNU Lesser General Public
15    License along with the GNU C Library; if not, write to the Free
16    Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
17    02111-1307 USA.  */
18
19 #ifdef __ASSEMBLER__
20
21 /* Symbolic names for the registers.  The only portable way to write asm
22    code is to use number but this produces really unreadable code.
23    Therefore these symbolic names.  */
24
25 /* Integer registers.  */
26 #define r0      0
27 #define r1      1
28 #define r2      2
29 #define r3      3
30 #define r4      4
31 #define r5      5
32 #define r6      6
33 #define r7      7
34 #define r8      8
35 #define r9      9
36 #define r10     10
37 #define r11     11
38 #define r12     12
39 #define r13     13
40 #define r14     14
41 #define r15     15
42 #define r16     16
43 #define r17     17
44 #define r18     18
45 #define r19     19
46 #define r20     20
47 #define r21     21
48 #define r22     22
49 #define r23     23
50 #define r24     24
51 #define r25     25
52 #define r26     26
53 #define r27     27
54 #define r28     28
55 #define r29     29
56 #define r30     30
57 #define r31     31
58
59 /* Floating-point registers.  */
60 #define fp0     0
61 #define fp1     1
62 #define fp2     2
63 #define fp3     3
64 #define fp4     4
65 #define fp5     5
66 #define fp6     6
67 #define fp7     7
68 #define fp8     8
69 #define fp9     9
70 #define fp10    10
71 #define fp11    11
72 #define fp12    12
73 #define fp13    13
74 #define fp14    14
75 #define fp15    15
76 #define fp16    16
77 #define fp17    17
78 #define fp18    18
79 #define fp19    19
80 #define fp20    20
81 #define fp21    21
82 #define fp22    22
83 #define fp23    23
84 #define fp24    24
85 #define fp25    25
86 #define fp26    26
87 #define fp27    27
88 #define fp28    28
89 #define fp29    29
90 #define fp30    30
91 #define fp31    31
92
93 /* Condition code registers.  */
94 #define cr0     0
95 #define cr1     1
96 #define cr2     2
97 #define cr3     3
98 #define cr4     4
99 #define cr5     5
100 #define cr6     6
101 #define cr7     7
102
103 /* Vector registers. */
104 #define v0      0
105 #define v1      1
106 #define v2      2
107 #define v3      3
108 #define v4      4
109 #define v5      5
110 #define v6      6
111 #define v7      7
112 #define v8      8
113 #define v9      9
114 #define v10     10
115 #define v11     11
116 #define v12     12
117 #define v13     13
118 #define v14     14
119 #define v15     15
120 #define v16     16
121 #define v17     17
122 #define v18     18
123 #define v19     19
124 #define v20     20
125 #define v21     21
126 #define v22     22
127 #define v23     23
128 #define v24     24
129 #define v25     25
130 #define v26     26
131 #define v27     27
132 #define v28     28
133 #define v29     29
134 #define v30     30
135 #define v31     31
136
137 #endif  /* __ASSEMBLER__ */