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

Side by Side Diff: src/assembler.h

Issue 2077533002: [builtins] Introduce proper Float64Exp operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. Import tests from Raymond. Created 4 years, 6 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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 879 matching lines...) Expand 10 before | Expand all | Expand 10 after
890 // void f(Local<Name> property, PropertyCallbackInfo& info) 890 // void f(Local<Name> property, PropertyCallbackInfo& info)
891 DIRECT_GETTER_CALL, 891 DIRECT_GETTER_CALL,
892 892
893 // Call to accessor getter callback via InvokeAccessorGetterCallback. 893 // Call to accessor getter callback via InvokeAccessorGetterCallback.
894 // void f(Local<Name> property, PropertyCallbackInfo& info, 894 // void f(Local<Name> property, PropertyCallbackInfo& info,
895 // AccessorNameGetterCallback callback) 895 // AccessorNameGetterCallback callback)
896 PROFILING_GETTER_CALL 896 PROFILING_GETTER_CALL
897 }; 897 };
898 898
899 static void SetUp(); 899 static void SetUp();
900 static void InitializeMathExpData();
901 static void TearDownMathExpData();
902 900
903 typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original, 901 typedef void* ExternalReferenceRedirector(Isolate* isolate, void* original,
904 Type type); 902 Type type);
905 903
906 ExternalReference() : address_(NULL) {} 904 ExternalReference() : address_(NULL) {}
907 905
908 ExternalReference(Builtins::CFunctionId id, Isolate* isolate); 906 ExternalReference(Builtins::CFunctionId id, Isolate* isolate);
909 907
910 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate); 908 ExternalReference(ApiFunction* ptr, Type type, Isolate* isolate);
911 909
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
1037 static ExternalReference address_of_min_int(); 1035 static ExternalReference address_of_min_int();
1038 static ExternalReference address_of_one_half(); 1036 static ExternalReference address_of_one_half();
1039 static ExternalReference address_of_minus_one_half(); 1037 static ExternalReference address_of_minus_one_half();
1040 static ExternalReference address_of_negative_infinity(); 1038 static ExternalReference address_of_negative_infinity();
1041 static ExternalReference address_of_the_hole_nan(); 1039 static ExternalReference address_of_the_hole_nan();
1042 static ExternalReference address_of_uint32_bias(); 1040 static ExternalReference address_of_uint32_bias();
1043 1041
1044 // IEEE 754 functions. 1042 // IEEE 754 functions.
1045 static ExternalReference ieee754_atan_function(Isolate* isolate); 1043 static ExternalReference ieee754_atan_function(Isolate* isolate);
1046 static ExternalReference ieee754_atan2_function(Isolate* isolate); 1044 static ExternalReference ieee754_atan2_function(Isolate* isolate);
1045 static ExternalReference ieee754_exp_function(Isolate* isolate);
1047 static ExternalReference ieee754_log_function(Isolate* isolate); 1046 static ExternalReference ieee754_log_function(Isolate* isolate);
1048 static ExternalReference ieee754_log1p_function(Isolate* isolate); 1047 static ExternalReference ieee754_log1p_function(Isolate* isolate);
1049 static ExternalReference ieee754_log2_function(Isolate* isolate); 1048 static ExternalReference ieee754_log2_function(Isolate* isolate);
1050 static ExternalReference ieee754_log10_function(Isolate* isolate); 1049 static ExternalReference ieee754_log10_function(Isolate* isolate);
1051 1050
1052 static ExternalReference math_exp_constants(int constant_index);
1053 static ExternalReference math_exp_log_table();
1054
1055 static ExternalReference page_flags(Page* page); 1051 static ExternalReference page_flags(Page* page);
1056 1052
1057 static ExternalReference ForDeoptEntry(Address entry); 1053 static ExternalReference ForDeoptEntry(Address entry);
1058 1054
1059 static ExternalReference cpu_features(); 1055 static ExternalReference cpu_features();
1060 1056
1061 static ExternalReference is_tail_call_elimination_enabled_address( 1057 static ExternalReference is_tail_call_elimination_enabled_address(
1062 Isolate* isolate); 1058 Isolate* isolate);
1063 1059
1064 static ExternalReference debug_is_active_address(Isolate* isolate); 1060 static ExternalReference debug_is_active_address(Isolate* isolate);
(...skipping 285 matching lines...) Expand 10 before | Expand all | Expand 10 after
1350 std::vector<ConstantPoolEntry> shared_entries; 1346 std::vector<ConstantPoolEntry> shared_entries;
1351 }; 1347 };
1352 1348
1353 Label emitted_label_; // Records pc_offset of emitted pool 1349 Label emitted_label_; // Records pc_offset of emitted pool
1354 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES]; 1350 PerTypeEntryInfo info_[ConstantPoolEntry::NUMBER_OF_TYPES];
1355 }; 1351 };
1356 1352
1357 } // namespace internal 1353 } // namespace internal
1358 } // namespace v8 1354 } // namespace v8
1359 #endif // V8_ASSEMBLER_H_ 1355 #endif // V8_ASSEMBLER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698