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

Side by Side Diff: src/ppc/macro-assembler-ppc.h

Issue 1460093002: PPC: [turbofan] Implemented the TruncateFloat64ToUint64 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix nit. Created 5 years, 1 month 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 | « src/ppc/disasm-ppc.cc ('k') | src/ppc/macro-assembler-ppc.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_ 5 #ifndef V8_PPC_MACRO_ASSEMBLER_PPC_H_
6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_ 6 #define V8_PPC_MACRO_ASSEMBLER_PPC_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/bailout-reason.h" 9 #include "src/bailout-reason.h"
10 #include "src/frames.h" 10 #include "src/frames.h"
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after
396 396
397 // Converts the double_input to an integer. Note that, upon return, 397 // Converts the double_input to an integer. Note that, upon return,
398 // the contents of double_dst will also hold the fixed point representation. 398 // the contents of double_dst will also hold the fixed point representation.
399 void ConvertDoubleToInt64(const DoubleRegister double_input, 399 void ConvertDoubleToInt64(const DoubleRegister double_input,
400 #if !V8_TARGET_ARCH_PPC64 400 #if !V8_TARGET_ARCH_PPC64
401 const Register dst_hi, 401 const Register dst_hi,
402 #endif 402 #endif
403 const Register dst, const DoubleRegister double_dst, 403 const Register dst, const DoubleRegister double_dst,
404 FPRoundingMode rounding_mode = kRoundToZero); 404 FPRoundingMode rounding_mode = kRoundToZero);
405 405
406 #if V8_TARGET_ARCH_PPC64
407 // Converts the double_input to an unsigned integer. Note that, upon return,
408 // the contents of double_dst will also hold the fixed point representation.
409 void ConvertDoubleToUnsignedInt64(
410 const DoubleRegister double_input, const Register dst,
411 const DoubleRegister double_dst,
412 FPRoundingMode rounding_mode = kRoundToZero);
413 #endif
414
406 // Generates function and stub prologue code. 415 // Generates function and stub prologue code.
407 void StubPrologue(int prologue_offset = 0); 416 void StubPrologue(int prologue_offset = 0);
408 void Prologue(bool code_pre_aging, int prologue_offset = 0); 417 void Prologue(bool code_pre_aging, int prologue_offset = 0);
409 418
410 // Enter exit frame. 419 // Enter exit frame.
411 // stack_space - extra stack space, used for parameters before call to C. 420 // stack_space - extra stack space, used for parameters before call to C.
412 // At least one slot (for the return address) should be provided. 421 // At least one slot (for the return address) should be provided.
413 void EnterExitFrame(bool save_doubles, int stack_space = 1); 422 void EnterExitFrame(bool save_doubles, int stack_space = 1);
414 423
415 // Leave the current exit frame. Expects the return value in r0. 424 // Leave the current exit frame. Expects the return value in r0.
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1574 #define ACCESS_MASM(masm) \ 1583 #define ACCESS_MASM(masm) \
1575 masm->stop(__FILE_LINE__); \ 1584 masm->stop(__FILE_LINE__); \
1576 masm-> 1585 masm->
1577 #else 1586 #else
1578 #define ACCESS_MASM(masm) masm-> 1587 #define ACCESS_MASM(masm) masm->
1579 #endif 1588 #endif
1580 } // namespace internal 1589 } // namespace internal
1581 } // namespace v8 1590 } // namespace v8
1582 1591
1583 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1592 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/ppc/disasm-ppc.cc ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698