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/snapshot/serialize.cc

Issue 1584663007: [turbofan] Implement rounding of floats on x64 and ia32 without sse4.1. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: reduced generated code. Created 4 years, 11 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/ia32/macro-assembler-ia32.cc ('k') | src/x64/assembler-x64.h » ('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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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 #include "src/snapshot/serialize.h" 5 #include "src/snapshot/serialize.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/api.h" 8 #include "src/api.h"
9 #include "src/base/platform/platform.h" 9 #include "src/base/platform/platform.h"
10 #include "src/bootstrapper.h" 10 #include "src/bootstrapper.h"
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 Add(ExternalReference::get_make_code_young_function(isolate).address(), 102 Add(ExternalReference::get_make_code_young_function(isolate).address(),
103 "Code::MakeCodeYoung"); 103 "Code::MakeCodeYoung");
104 Add(ExternalReference::cpu_features().address(), "cpu_features"); 104 Add(ExternalReference::cpu_features().address(), "cpu_features");
105 Add(ExternalReference::old_space_allocation_top_address(isolate).address(), 105 Add(ExternalReference::old_space_allocation_top_address(isolate).address(),
106 "Heap::OldSpaceAllocationTopAddress"); 106 "Heap::OldSpaceAllocationTopAddress");
107 Add(ExternalReference::old_space_allocation_limit_address(isolate).address(), 107 Add(ExternalReference::old_space_allocation_limit_address(isolate).address(),
108 "Heap::OldSpaceAllocationLimitAddress"); 108 "Heap::OldSpaceAllocationLimitAddress");
109 Add(ExternalReference::allocation_sites_list_address(isolate).address(), 109 Add(ExternalReference::allocation_sites_list_address(isolate).address(),
110 "Heap::allocation_sites_list_address()"); 110 "Heap::allocation_sites_list_address()");
111 Add(ExternalReference::address_of_uint32_bias().address(), "uint32_bias"); 111 Add(ExternalReference::address_of_uint32_bias().address(), "uint32_bias");
112 Add(ExternalReference::address_of_rounding_limit().address(),
113 "rounding_limit");
112 Add(ExternalReference::get_mark_code_as_executed_function(isolate).address(), 114 Add(ExternalReference::get_mark_code_as_executed_function(isolate).address(),
113 "Code::MarkCodeAsExecuted"); 115 "Code::MarkCodeAsExecuted");
114 Add(ExternalReference::is_profiling_address(isolate).address(), 116 Add(ExternalReference::is_profiling_address(isolate).address(),
115 "CpuProfiler::is_profiling"); 117 "CpuProfiler::is_profiling");
116 Add(ExternalReference::scheduled_exception_address(isolate).address(), 118 Add(ExternalReference::scheduled_exception_address(isolate).address(),
117 "Isolate::scheduled_exception"); 119 "Isolate::scheduled_exception");
118 Add(ExternalReference::invoke_function_callback(isolate).address(), 120 Add(ExternalReference::invoke_function_callback(isolate).address(),
119 "InvokeFunctionCallback"); 121 "InvokeFunctionCallback");
120 Add(ExternalReference::invoke_accessor_getter_callback(isolate).address(), 122 Add(ExternalReference::invoke_accessor_getter_callback(isolate).address(),
121 "InvokeAccessorGetterCallback"); 123 "InvokeAccessorGetterCallback");
(...skipping 2673 matching lines...) Expand 10 before | Expand all | Expand 10 after
2795 SerializedCodeData* scd = new SerializedCodeData(cached_data); 2797 SerializedCodeData* scd = new SerializedCodeData(cached_data);
2796 SanityCheckResult r = scd->SanityCheck(isolate, source); 2798 SanityCheckResult r = scd->SanityCheck(isolate, source);
2797 if (r == CHECK_SUCCESS) return scd; 2799 if (r == CHECK_SUCCESS) return scd;
2798 cached_data->Reject(); 2800 cached_data->Reject();
2799 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r); 2801 source->GetIsolate()->counters()->code_cache_reject_reason()->AddSample(r);
2800 delete scd; 2802 delete scd;
2801 return NULL; 2803 return NULL;
2802 } 2804 }
2803 } // namespace internal 2805 } // namespace internal
2804 } // namespace v8 2806 } // namespace v8
OLDNEW
« no previous file with comments | « src/ia32/macro-assembler-ia32.cc ('k') | src/x64/assembler-x64.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698