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

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

Issue 1680783002: [intrinsics] Kill the %_IsMinusZero intrinsic. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 10 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 | « src/js/typedarray.js ('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 855 matching lines...) Expand 10 before | Expand all | Expand 10 after
866 866
867 // Check if a double can be exactly represented as a signed 32-bit integer. 867 // Check if a double can be exactly represented as a signed 32-bit integer.
868 // CR_EQ in cr7 is set if true. 868 // CR_EQ in cr7 is set if true.
869 void TestDoubleIsInt32(DoubleRegister double_input, Register scratch1, 869 void TestDoubleIsInt32(DoubleRegister double_input, Register scratch1,
870 Register scratch2, DoubleRegister double_scratch); 870 Register scratch2, DoubleRegister double_scratch);
871 871
872 // Check if a double is equal to -0.0. 872 // Check if a double is equal to -0.0.
873 // CR_EQ in cr7 holds the result. 873 // CR_EQ in cr7 holds the result.
874 void TestDoubleIsMinusZero(DoubleRegister input, Register scratch1, 874 void TestDoubleIsMinusZero(DoubleRegister input, Register scratch1,
875 Register scratch2); 875 Register scratch2);
876 void TestHeapNumberIsMinusZero(Register input, Register scratch1,
877 Register scratch2);
878 876
879 // Check the sign of a double. 877 // Check the sign of a double.
880 // CR_LT in cr7 holds the result. 878 // CR_LT in cr7 holds the result.
881 void TestDoubleSign(DoubleRegister input, Register scratch); 879 void TestDoubleSign(DoubleRegister input, Register scratch);
882 void TestHeapNumberSign(Register input, Register scratch); 880 void TestHeapNumberSign(Register input, Register scratch);
883 881
884 // Try to convert a double to a signed 32-bit integer. 882 // Try to convert a double to a signed 32-bit integer.
885 // CR_EQ in cr7 is set and result assigned if the conversion is exact. 883 // CR_EQ in cr7 is set and result assigned if the conversion is exact.
886 void TryDoubleToInt32Exact(Register result, DoubleRegister double_input, 884 void TryDoubleToInt32Exact(Register result, DoubleRegister double_input,
887 Register scratch, DoubleRegister double_scratch); 885 Register scratch, DoubleRegister double_scratch);
(...skipping 718 matching lines...) Expand 10 before | Expand all | Expand 10 after
1606 #define ACCESS_MASM(masm) \ 1604 #define ACCESS_MASM(masm) \
1607 masm->stop(__FILE_LINE__); \ 1605 masm->stop(__FILE_LINE__); \
1608 masm-> 1606 masm->
1609 #else 1607 #else
1610 #define ACCESS_MASM(masm) masm-> 1608 #define ACCESS_MASM(masm) masm->
1611 #endif 1609 #endif
1612 } // namespace internal 1610 } // namespace internal
1613 } // namespace v8 1611 } // namespace v8
1614 1612
1615 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_ 1613 #endif // V8_PPC_MACRO_ASSEMBLER_PPC_H_
OLDNEW
« no previous file with comments | « src/js/typedarray.js ('k') | src/ppc/macro-assembler-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698