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

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

Issue 10977051: Support for SDIV and MLS ARM instructions, and implement DoModI using them (Closed) Base URL: http://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
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;
151 default: 154 default:
152 UNREACHABLE(); 155 UNREACHABLE();
153 } 156 }
154 157
155 if (CPUInfoContainsString(search_string)) { 158 if (CPUInfoContainsString(search_string)) {
156 return true; 159 return true;
157 } 160 }
158 161
159 if (feature == VFP3) { 162 if (feature == VFP3) {
160 // Some old kernels will report vfp not vfpv3. Here we make a last attempt 163 // Some old kernels will report vfp not vfpv3. Here we make a last attempt
(...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after
1287 1290
1288 1291
1289 void Sampler::Stop() { 1292 void Sampler::Stop() {
1290 ASSERT(IsActive()); 1293 ASSERT(IsActive());
1291 SignalSender::RemoveActiveSampler(this); 1294 SignalSender::RemoveActiveSampler(this);
1292 SetActive(false); 1295 SetActive(false);
1293 } 1296 }
1294 1297
1295 1298
1296 } } // namespace v8::internal 1299 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/flag-definitions.h ('k') | src/v8globals.h » ('j') | src/v8globals.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698