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

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

Issue 1409073016: PPC64: Implemented the RoundInt64ToFloat32 TurboFan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix build break in simulator. 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 370 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 void ConvertUnsignedIntToDouble(Register src, DoubleRegister double_dst); 381 void ConvertUnsignedIntToDouble(Register src, DoubleRegister double_dst);
382 382
383 // Converts the integer (untagged smi) in |src| to 383 // Converts the integer (untagged smi) in |src| to
384 // a float, storing the result in |dst| 384 // a float, storing the result in |dst|
385 // Warning: The value in |int_scrach| will be changed in the process! 385 // Warning: The value in |int_scrach| will be changed in the process!
386 void ConvertIntToFloat(const DoubleRegister dst, const Register src, 386 void ConvertIntToFloat(const DoubleRegister dst, const Register src,
387 const Register int_scratch); 387 const Register int_scratch);
388 388
389 #if V8_TARGET_ARCH_PPC64 389 #if V8_TARGET_ARCH_PPC64
390 void ConvertInt64ToDouble(Register src, DoubleRegister double_dst); 390 void ConvertInt64ToDouble(Register src, DoubleRegister double_dst);
391 void ConvertInt64ToFloat(Register src, DoubleRegister double_dst);
391 #endif 392 #endif
392 393
393 // Converts the double_input to an integer. Note that, upon return, 394 // Converts the double_input to an integer. Note that, upon return,
394 // the contents of double_dst will also hold the fixed point representation. 395 // the contents of double_dst will also hold the fixed point representation.
395 void ConvertDoubleToInt64(const DoubleRegister double_input, 396 void ConvertDoubleToInt64(const DoubleRegister double_input,
396 #if !V8_TARGET_ARCH_PPC64 397 #if !V8_TARGET_ARCH_PPC64
397 const Register dst_hi, 398 const Register dst_hi,
398 #endif 399 #endif
399 const Register dst, const DoubleRegister double_dst, 400 const Register dst, const DoubleRegister double_dst,
400 FPRoundingMode rounding_mode = kRoundToZero); 401 FPRoundingMode rounding_mode = kRoundToZero);
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1571 #define ACCESS_MASM(masm) \ 1572 #define ACCESS_MASM(masm) \
1572 masm->stop(__FILE_LINE__); \ 1573 masm->stop(__FILE_LINE__); \
1573 masm-> 1574 masm->
1574 #else 1575 #else
1575 #define ACCESS_MASM(masm) masm-> 1576 #define ACCESS_MASM(masm) masm->
1576 #endif 1577 #endif
1577 } // namespace internal 1578 } // namespace internal
1578 } // namespace v8 1579 } // namespace v8
1579 1580
1580 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1581 #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