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: runtime/vm/intrinsifier.h

Issue 75203003: Remove intrinsified version of fsin, fcos. The optimized code calls into runtime, which may use dif… (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | runtime/vm/intrinsifier_arm.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 (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 // Class for intrinsifying functions. 4 // Class for intrinsifying functions.
5 5
6 #ifndef VM_INTRINSIFIER_H_ 6 #ifndef VM_INTRINSIFIER_H_
7 #define VM_INTRINSIFIER_H_ 7 #define VM_INTRINSIFIER_H_
8 8
9 #include "vm/allocation.h" 9 #include "vm/allocation.h"
10 10
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 V(_IntegerImplementation, <, Integer_lessThan, 1523713072) \ 92 V(_IntegerImplementation, <, Integer_lessThan, 1523713072) \
93 V(_IntegerImplementation, <=, Integer_lessEqualThan, 671929679) \ 93 V(_IntegerImplementation, <=, Integer_lessEqualThan, 671929679) \
94 V(_IntegerImplementation, >=, Integer_greaterEqualThan, 1974971247) \ 94 V(_IntegerImplementation, >=, Integer_greaterEqualThan, 1974971247) \
95 V(_IntegerImplementation, <<, Integer_shl, 521759411) \ 95 V(_IntegerImplementation, <<, Integer_shl, 521759411) \
96 V(_IntegerImplementation, >>, Integer_sar, 800510700) \ 96 V(_IntegerImplementation, >>, Integer_sar, 800510700) \
97 V(_Double, toInt, Double_toInt, 1328149975) 97 V(_Double, toInt, Double_toInt, 1328149975)
98 98
99 99
100 #define MATH_LIB_INTRINSIC_LIST(V) \ 100 #define MATH_LIB_INTRINSIC_LIST(V) \
101 V(::, sqrt, Math_sqrt, 465520247) \ 101 V(::, sqrt, Math_sqrt, 465520247) \
102 V(::, sin, Math_sin, 730107143) \
103 V(::, cos, Math_cos, 1282146521) \
104 V(_Random, _nextState, Random_nextState, 1174301422) \ 102 V(_Random, _nextState, Random_nextState, 1174301422) \
105 103
106 104
107 #define TYPED_DATA_LIB_INTRINSIC_LIST(V) \ 105 #define TYPED_DATA_LIB_INTRINSIC_LIST(V) \
108 V(_TypedList, get:length, TypedData_getLength, 26646119) \ 106 V(_TypedList, get:length, TypedData_getLength, 26646119) \
109 V(_Int8Array, _new, TypedData_Int8Array_new, 18350202) \ 107 V(_Int8Array, _new, TypedData_Int8Array_new, 18350202) \
110 V(_Uint8Array, _new, TypedData_Uint8Array_new, 2118071523) \ 108 V(_Uint8Array, _new, TypedData_Uint8Array_new, 2118071523) \
111 V(_Uint8ClampedArray, _new, TypedData_Uint8ClampedArray_new, 908783182) \ 109 V(_Uint8ClampedArray, _new, TypedData_Uint8ClampedArray_new, 908783182) \
112 V(_Int16Array, _new, TypedData_Int16Array_new, 422885769) \ 110 V(_Int16Array, _new, TypedData_Int16Array_new, 422885769) \
113 V(_Uint16Array, _new, TypedData_Uint16Array_new, 1401544578) \ 111 V(_Uint16Array, _new, TypedData_Uint16Array_new, 1401544578) \
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
158 CORE_INTEGER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 156 CORE_INTEGER_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
159 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 157 MATH_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
160 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION) 158 TYPED_DATA_LIB_INTRINSIC_LIST(DECLARE_FUNCTION)
161 159
162 #undef DECLARE_FUNCTION 160 #undef DECLARE_FUNCTION
163 }; 161 };
164 162
165 } // namespace dart 163 } // namespace dart
166 164
167 #endif // VM_INTRINSIFIER_H_ 165 #endif // VM_INTRINSIFIER_H_
OLDNEW
« no previous file with comments | « no previous file | runtime/vm/intrinsifier_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698