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

Side by Side Diff: src/arm/interface-descriptors-arm.cc

Issue 1220783006: Revert of Add unoptimized/optimized variants of MathFloor TF code stub (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 5 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
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('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 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "src/v8.h" 5 #include "src/v8.h"
6 6
7 #if V8_TARGET_ARCH_ARM 7 #if V8_TARGET_ARCH_ARM
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 335 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 r0, // callee 346 r0, // callee
347 r4, // call_data 347 r4, // call_data
348 r2, // holder 348 r2, // holder
349 r1, // api_function_address 349 r1, // api_function_address
350 }; 350 };
351 data->InitializePlatformSpecific(arraysize(registers), registers, 351 data->InitializePlatformSpecific(arraysize(registers), registers,
352 &default_descriptor); 352 &default_descriptor);
353 } 353 }
354 354
355 355
356 void MathRoundVariantCallFromUnoptimizedCodeDescriptor:: 356 void MathRoundVariantDescriptor::InitializePlatformSpecific(
357 InitializePlatformSpecific(CallInterfaceDescriptorData* data) { 357 CallInterfaceDescriptorData* data) {
358 Register registers[] = { 358 Register registers[] = {
359 r1, // math rounding function 359 r1, // math rounding function
360 r3, // vector slot id 360 r3, // vector slot id
361 }; 361 };
362 data->InitializePlatformSpecific(arraysize(registers), registers); 362 data->InitializePlatformSpecific(arraysize(registers), registers);
363 } 363 }
364
365
366 void MathRoundVariantCallFromOptimizedCodeDescriptor::
367 InitializePlatformSpecific(CallInterfaceDescriptorData* data) {
368 Register registers[] = {
369 r1, // math rounding function
370 r3, // vector slot id
371 r4, // type vector
372 };
373 data->InitializePlatformSpecific(arraysize(registers), registers);
374 }
375 } // namespace internal 364 } // namespace internal
376 } // namespace v8 365 } // namespace v8
377 366
378 #endif // V8_TARGET_ARCH_ARM 367 #endif // V8_TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « no previous file | src/arm64/interface-descriptors-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698