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

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

Issue 12920009: Use generated Neon version of MemCopy() on ARM, if platform supports it. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 7 years, 8 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 break; 149 break;
150 case VFP3: 150 case VFP3:
151 search_string = "vfpv3"; 151 search_string = "vfpv3";
152 break; 152 break;
153 case ARMv7: 153 case ARMv7:
154 search_string = "ARMv7"; 154 search_string = "ARMv7";
155 break; 155 break;
156 case SUDIV: 156 case SUDIV:
157 search_string = "idiva"; 157 search_string = "idiva";
158 break; 158 break;
159 case NEON:
160 search_string = "neon";
161 break;
159 case VFP32DREGS: 162 case VFP32DREGS:
160 // This case is handled specially below. 163 // This case is handled specially below.
161 break; 164 break;
162 default: 165 default:
163 UNREACHABLE(); 166 UNREACHABLE();
164 } 167 }
165 168
166 if (feature == VFP32DREGS) { 169 if (feature == VFP32DREGS) {
167 return ArmCpuHasFeature(VFP3) && !CPUInfoContainsString("d16"); 170 return ArmCpuHasFeature(VFP3) && !CPUInfoContainsString("d16");
168 } 171 }
(...skipping 1156 matching lines...) Expand 10 before | Expand all | Expand 10 after
1325 1328
1326 1329
1327 void Sampler::Stop() { 1330 void Sampler::Stop() {
1328 ASSERT(IsActive()); 1331 ASSERT(IsActive());
1329 SignalSender::RemoveActiveSampler(this); 1332 SignalSender::RemoveActiveSampler(this);
1330 SetActive(false); 1333 SetActive(false);
1331 } 1334 }
1332 1335
1333 1336
1334 } } // namespace v8::internal 1337 } } // namespace v8::internal
OLDNEW
« src/arm/codegen-arm.cc ('K') | « src/platform.h ('k') | src/platform-posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698