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

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

Issue 23523060: Add a mechanism to override the detected cpu features. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 3 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 | « src/ia32/assembler-ia32.h ('k') | src/x64/assembler-x64.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 are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // 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 408 matching lines...) Expand 10 before | Expand all | Expand 10 after
419 } 419 }
420 420
421 private: 421 private:
422 #ifdef DEBUG 422 #ifdef DEBUG
423 static bool initialized_; 423 static bool initialized_;
424 #endif 424 #endif
425 static unsigned supported_; 425 static unsigned supported_;
426 static unsigned found_by_runtime_probing_only_; 426 static unsigned found_by_runtime_probing_only_;
427 427
428 friend class ExternalReference; 428 friend class ExternalReference;
429 friend class PlatformFeatureScope;
429 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); 430 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
430 }; 431 };
431 432
432 433
433 class Assembler : public AssemblerBase { 434 class Assembler : public AssemblerBase {
434 public: 435 public:
435 // Create an assembler. Instructions and relocation information are emitted 436 // Create an assembler. Instructions and relocation information are emitted
436 // into a buffer, with the instructions starting from the beginning and the 437 // into a buffer, with the instructions starting from the beginning and the
437 // relocation information starting from the end of the buffer. See CodeDesc 438 // relocation information starting from the end of the buffer. See CodeDesc
438 // for a detailed comment on the layout (globals.h). 439 // for a detailed comment on the layout (globals.h).
(...skipping 771 matching lines...) Expand 10 before | Expand all | Expand 10 after
1210 class EnsureSpace BASE_EMBEDDED { 1211 class EnsureSpace BASE_EMBEDDED {
1211 public: 1212 public:
1212 explicit EnsureSpace(Assembler* assembler) { 1213 explicit EnsureSpace(Assembler* assembler) {
1213 assembler->CheckBuffer(); 1214 assembler->CheckBuffer();
1214 } 1215 }
1215 }; 1216 };
1216 1217
1217 } } // namespace v8::internal 1218 } } // namespace v8::internal
1218 1219
1219 #endif // V8_ARM_ASSEMBLER_MIPS_H_ 1220 #endif // V8_ARM_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/ia32/assembler-ia32.h ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698