Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(428)

Side by Side Diff: gcc/gcc/config/rs6000/ppc-asm.h

Issue 3050029: [gcc] GCC 4.5.0=>4.5.1 (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/nacl-toolchain.git
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gcc/gcc/config/rs6000/power5.md ('k') | gcc/gcc/config/rs6000/predicates.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* PowerPC asm definitions for GNU C. */ 1 /* PowerPC asm definitions for GNU C.
2
3 Copyright (C) 2002, 2003, 2008, 2009 Free Software Foundation, Inc.
4
5 This file is part of GCC.
6
7 GCC is free software; you can redistribute it and/or modify it under
8 the terms of the GNU General Public License as published by the Free
9 Software Foundation; either version 3, or (at your option) any later
10 version.
11
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
15 for more details.
16
17 Under Section 7 of GPL version 3, you are granted additional
18 permissions described in the GCC Runtime Library Exception, version
19 3.1, as published by the Free Software Foundation.
20
21 You should have received a copy of the GNU General Public License and
22 a copy of the GCC Runtime Library Exception along with this program;
23 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
24 <http://www.gnu.org/licenses/>. */
25
2 /* Under winnt, 1) gas supports the following as names and 2) in particular 26 /* Under winnt, 1) gas supports the following as names and 2) in particular
3 defining "toc" breaks the FUNC_START macro as ".toc" becomes ".2" */ 27 defining "toc" breaks the FUNC_START macro as ".toc" becomes ".2" */
4 28
5 #define r0 0 29 #define r0 0
6 #define sp 1 30 #define sp 1
7 #define toc 2 31 #define toc 2
8 #define r3 3 32 #define r3 3
9 #define r4 4 33 #define r4 4
10 #define r5 5 34 #define r5 5
11 #define r6 6 35 #define r6 6
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 #define f9 9 80 #define f9 9
57 #define f10 10 81 #define f10 10
58 #define f11 11 82 #define f11 11
59 #define f12 12 83 #define f12 12
60 #define f13 13 84 #define f13 13
61 #define f14 14 85 #define f14 14
62 #define f15 15 86 #define f15 15
63 #define f16 16 87 #define f16 16
64 #define f17 17 88 #define f17 17
65 #define f18 18 89 #define f18 18
66 #define f19 19 90 #define f19» 19
67 #define f20 20 91 #define f20 20
68 #define f21 21 92 #define f21 21
69 #define f22 22 93 #define f22 22
70 #define f23 23 94 #define f23 23
71 #define f24 24 95 #define f24 24
72 #define f25 25 96 #define f25 25
73 #define f26 26 97 #define f26 26
74 #define f27 27 98 #define f27 27
75 #define f28 28 99 #define f28 28
76 #define f29 29 100 #define f29 29
77 #define f30 30 101 #define f30 30
78 #define f31 31 102 #define f31 31
79 103
104 #ifdef __VSX__
105 #define f32 32
106 #define f33 33
107 #define f34 34
108 #define f35 35
109 #define f36 36
110 #define f37 37
111 #define f38 38
112 #define f39 39
113 #define f40 40
114 #define f41 41
115 #define f42 42
116 #define f43 43
117 #define f44 44
118 #define f45 45
119 #define f46 46
120 #define f47 47
121 #define f48 48
122 #define f49 49
123 #define f50 30
124 #define f51 51
125 #define f52 52
126 #define f53 53
127 #define f54 54
128 #define f55 55
129 #define f56 56
130 #define f57 57
131 #define f58 58
132 #define f59 59
133 #define f60 60
134 #define f61 61
135 #define f62 62
136 #define f63 63
137 #endif
138
139 #ifdef __ALTIVEC__
140 #define v0 0
141 #define v1 1
142 #define v2 2
143 #define v3 3
144 #define v4 4
145 #define v5 5
146 #define v6 6
147 #define v7 7
148 #define v8 8
149 #define v9 9
150 #define v10 10
151 #define v11 11
152 #define v12 12
153 #define v13 13
154 #define v14 14
155 #define v15 15
156 #define v16 16
157 #define v17 17
158 #define v18 18
159 #define v19 19
160 #define v20 20
161 #define v21 21
162 #define v22 22
163 #define v23 23
164 #define v24 24
165 #define v25 25
166 #define v26 26
167 #define v27 27
168 #define v28 28
169 #define v29 29
170 #define v30 30
171 #define v31 31
172 #endif
173
174 #ifdef __VSX__
175 #define vs0 0
176 #define vs1 1
177 #define vs2 2
178 #define vs3 3
179 #define vs4 4
180 #define vs5 5
181 #define vs6 6
182 #define vs7 7
183 #define vs8 8
184 #define vs9 9
185 #define vs10 10
186 #define vs11 11
187 #define vs12 12
188 #define vs13 13
189 #define vs14 14
190 #define vs15 15
191 #define vs16 16
192 #define vs17 17
193 #define vs18 18
194 #define vs19 19
195 #define vs20 20
196 #define vs21 21
197 #define vs22 22
198 #define vs23 23
199 #define vs24 24
200 #define vs25 25
201 #define vs26 26
202 #define vs27 27
203 #define vs28 28
204 #define vs29 29
205 #define vs30 30
206 #define vs31 31
207 #define vs32 32
208 #define vs33 33
209 #define vs34 34
210 #define vs35 35
211 #define vs36 36
212 #define vs37 37
213 #define vs38 38
214 #define vs39 39
215 #define vs40 40
216 #define vs41 41
217 #define vs42 42
218 #define vs43 43
219 #define vs44 44
220 #define vs45 45
221 #define vs46 46
222 #define vs47 47
223 #define vs48 48
224 #define vs49 49
225 #define vs50 30
226 #define vs51 51
227 #define vs52 52
228 #define vs53 53
229 #define vs54 54
230 #define vs55 55
231 #define vs56 56
232 #define vs57 57
233 #define vs58 58
234 #define vs59 59
235 #define vs60 60
236 #define vs61 61
237 #define vs62 62
238 #define vs63 63
239 #endif
240
80 /* 241 /*
81 * Macros to glue together two tokens. 242 * Macros to glue together two tokens.
82 */ 243 */
83 244
84 #ifdef __STDC__ 245 #ifdef __STDC__
85 #define XGLUE(a,b) a##b 246 #define XGLUE(a,b) a##b
86 #else 247 #else
87 #define XGLUE(a,b) a/**/b 248 #define XGLUE(a,b) a/**/b
88 #endif 249 #endif
89 250
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 326
166 #define HIDDEN_FUNC(name) \ 327 #define HIDDEN_FUNC(name) \
167 FUNC_START(name) \ 328 FUNC_START(name) \
168 .hidden FUNC_NAME(name); 329 .hidden FUNC_NAME(name);
169 330
170 #define FUNC_END(name) \ 331 #define FUNC_END(name) \
171 GLUE(.L,name): \ 332 GLUE(.L,name): \
172 .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name) 333 .size FUNC_NAME(name),GLUE(.L,name)-FUNC_NAME(name)
173 #endif 334 #endif
174 335
336 #ifdef IN_GCC
337 /* For HAVE_GAS_CFI_DIRECTIVE. */
338 #include "auto-host.h"
339
340 #ifdef HAVE_GAS_CFI_DIRECTIVE
341 # define CFI_STARTPROC .cfi_startproc
342 # define CFI_ENDPROC .cfi_endproc
343 # define CFI_OFFSET(reg, off) .cfi_offset reg, off
344 # define CFI_DEF_CFA_REGISTER(reg) .cfi_def_cfa_register reg
345 # define CFI_RESTORE(reg) .cfi_restore reg
346 #else
347 # define CFI_STARTPROC
348 # define CFI_ENDPROC
349 # define CFI_OFFSET(reg, off)
350 # define CFI_DEF_CFA_REGISTER(reg)
351 # define CFI_RESTORE(reg)
352 #endif
353 #endif
354
175 #if defined __linux__ && !defined __powerpc64__ 355 #if defined __linux__ && !defined __powerpc64__
176 .section .note.GNU-stack 356 .section .note.GNU-stack
177 .previous 357 .previous
178 #endif 358 #endif
OLDNEW
« no previous file with comments | « gcc/gcc/config/rs6000/power5.md ('k') | gcc/gcc/config/rs6000/predicates.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698