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

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

Issue 1137703002: Add a MathFloor stub generated with TurboFan (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Latest Created 5 years, 7 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
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_X64 7 #if V8_TARGET_ARCH_X64
8 8
9 #include "src/interface-descriptors.h" 9 #include "src/interface-descriptors.h"
10 10
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 }; 358 };
359 Representation representations[] = { 359 Representation representations[] = {
360 Representation::Tagged(), // context 360 Representation::Tagged(), // context
361 Representation::Tagged(), // callee 361 Representation::Tagged(), // callee
362 Representation::Tagged(), // call_data 362 Representation::Tagged(), // call_data
363 Representation::Tagged(), // holder 363 Representation::Tagged(), // holder
364 Representation::External(), // api_function_address 364 Representation::External(), // api_function_address
365 }; 365 };
366 data->Initialize(arraysize(registers), registers, representations); 366 data->Initialize(arraysize(registers), registers, representations);
367 } 367 }
368
369
370 void MathRoundVariantDescriptor::Initialize(CallInterfaceDescriptorData* data) {
371 Register registers[] = {
372 rsi, // context
373 rdi, // math rounding function
374 rdx, // vector slot id
375 };
376 Representation representations[] = {
377 Representation::Tagged(), //
378 Representation::Tagged(), //
379 Representation::Tagged(), //
380 };
381 data->Initialize(arraysize(registers), registers, representations);
382 }
368 } 383 }
369 } // namespace v8::internal 384 } // namespace v8::internal
370 385
371 #endif // V8_TARGET_ARCH_X64 386 #endif // V8_TARGET_ARCH_X64
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698