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

Side by Side Diff: src/arm/assembler-arm.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 | « no previous file | src/assembler.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 71 matching lines...) Expand 10 before | Expand all | Expand 10 after
82 82
83 private: 83 private:
84 #ifdef DEBUG 84 #ifdef DEBUG
85 static bool initialized_; 85 static bool initialized_;
86 #endif 86 #endif
87 static unsigned supported_; 87 static unsigned supported_;
88 static unsigned found_by_runtime_probing_only_; 88 static unsigned found_by_runtime_probing_only_;
89 static unsigned cache_line_size_; 89 static unsigned cache_line_size_;
90 90
91 friend class ExternalReference; 91 friend class ExternalReference;
92 friend class PlatformFeatureScope;
92 DISALLOW_COPY_AND_ASSIGN(CpuFeatures); 93 DISALLOW_COPY_AND_ASSIGN(CpuFeatures);
93 }; 94 };
94 95
95 96
96 // CPU Registers. 97 // CPU Registers.
97 // 98 //
98 // 1) We would prefer to use an enum, but enum values are assignment- 99 // 1) We would prefer to use an enum, but enum values are assignment-
99 // compatible with int, which has caused code-generation bugs. 100 // compatible with int, which has caused code-generation bugs.
100 // 101 //
101 // 2) We would prefer to use a class instead of a struct but we don't like 102 // 2) We would prefer to use a class instead of a struct but we don't like
(...skipping 1473 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 public: 1576 public:
1576 explicit EnsureSpace(Assembler* assembler) { 1577 explicit EnsureSpace(Assembler* assembler) {
1577 assembler->CheckBuffer(); 1578 assembler->CheckBuffer();
1578 } 1579 }
1579 }; 1580 };
1580 1581
1581 1582
1582 } } // namespace v8::internal 1583 } } // namespace v8::internal
1583 1584
1584 #endif // V8_ARM_ASSEMBLER_ARM_H_ 1585 #endif // V8_ARM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/assembler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698