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

Side by Side Diff: src/platform-linux.cc

Issue 11040025: Revert r12646 "Support for SDIV" because of failing V8 benchmark. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 2 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/flag-definitions.h ('k') | src/v8globals.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 switch (feature) { 141 switch (feature) {
142 case VFP2: 142 case VFP2:
143 search_string = "vfp"; 143 search_string = "vfp";
144 break; 144 break;
145 case VFP3: 145 case VFP3:
146 search_string = "vfpv3"; 146 search_string = "vfpv3";
147 break; 147 break;
148 case ARMv7: 148 case ARMv7:
149 search_string = "ARMv7"; 149 search_string = "ARMv7";
150 break; 150 break;
151 case SUDIV:
152 search_string = "idiva";
153 break;
154 default: 151 default:
155 UNREACHABLE(); 152 UNREACHABLE();
156 } 153 }
157 154
158 if (CPUInfoContainsString(search_string)) { 155 if (CPUInfoContainsString(search_string)) {
159 return true; 156 return true;
160 } 157 }
161 158
162 if (feature == VFP3) { 159 if (feature == VFP3) {
163 // Some old kernels will report vfp not vfpv3. Here we make a last attempt 160 // Some old kernels will report vfp not vfpv3. Here we make a last attempt
(...skipping 1123 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 1284
1288 void Sampler::Stop() { 1285 void Sampler::Stop() {
1289 ASSERT(IsActive()); 1286 ASSERT(IsActive());
1290 CpuProfilerSignalHandler::RestoreSignalHandler(); 1287 CpuProfilerSignalHandler::RestoreSignalHandler();
1291 SignalSender::RemoveActiveSampler(this); 1288 SignalSender::RemoveActiveSampler(this);
1292 SetActive(false); 1289 SetActive(false);
1293 } 1290 }
1294 1291
1295 1292
1296 } } // namespace v8::internal 1293 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/v8globals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698