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

Side by Side Diff: src/arm/assembler-arm.h

Issue 2825008: Move definition of NegateConditon from assembler*-inl.h files to... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 10 years, 6 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 | « no previous file | src/arm/assembler-arm-inl.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions 5 // modification, are permitted provided that the following conditions
6 // are met: 6 // are met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after
272 ls = 9 << 28, // C clear or Z set unsigned lower or same. 272 ls = 9 << 28, // C clear or Z set unsigned lower or same.
273 ge = 10 << 28, // N == V greater or equal. 273 ge = 10 << 28, // N == V greater or equal.
274 lt = 11 << 28, // N != V less than. 274 lt = 11 << 28, // N != V less than.
275 gt = 12 << 28, // Z clear, N == V greater than. 275 gt = 12 << 28, // Z clear, N == V greater than.
276 le = 13 << 28, // Z set or N != V less then or equal 276 le = 13 << 28, // Z set or N != V less then or equal
277 al = 14 << 28 // always. 277 al = 14 << 28 // always.
278 }; 278 };
279 279
280 280
281 // Returns the equivalent of !cc. 281 // Returns the equivalent of !cc.
282 INLINE(Condition NegateCondition(Condition cc)); 282 inline Condition NegateCondition(Condition cc) {
283 ASSERT(cc != al);
284 return static_cast<Condition>(cc ^ ne);
285 }
283 286
284 287
285 // Corresponds to transposing the operands of a comparison. 288 // Corresponds to transposing the operands of a comparison.
286 inline Condition ReverseCondition(Condition cc) { 289 inline Condition ReverseCondition(Condition cc) {
287 switch (cc) { 290 switch (cc) {
288 case lo: 291 case lo:
289 return hi; 292 return hi;
290 case hi: 293 case hi:
291 return lo; 294 return lo;
292 case hs: 295 case hs:
(...skipping 902 matching lines...) Expand 10 before | Expand all | Expand 10 after
1195 1198
1196 friend class RegExpMacroAssemblerARM; 1199 friend class RegExpMacroAssemblerARM;
1197 friend class RelocInfo; 1200 friend class RelocInfo;
1198 friend class CodePatcher; 1201 friend class CodePatcher;
1199 friend class BlockConstPoolScope; 1202 friend class BlockConstPoolScope;
1200 }; 1203 };
1201 1204
1202 } } // namespace v8::internal 1205 } } // namespace v8::internal
1203 1206
1204 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1207 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/arm/assembler-arm-inl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698