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

Side by Side Diff: src/external-reference-table.cc

Issue 2166793002: [wasm] Use a C wrapper function to calculate F64Pow. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 5 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/compiler/wasm-compiler.cc ('k') | src/wasm/wasm-external-refs.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 2016 the V8 project authors. All rights reserved. 1 // Copyright 2016 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/external-reference-table.h" 5 #include "src/external-reference-table.h"
6 6
7 #include "src/accessors.h" 7 #include "src/accessors.h"
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/builtins/builtins.h" 9 #include "src/builtins/builtins.h"
10 #include "src/counters.h" 10 #include "src/counters.h"
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 Add(ExternalReference::wasm_uint64_to_float64(isolate).address(), 178 Add(ExternalReference::wasm_uint64_to_float64(isolate).address(),
179 "wasm::uint64_to_float64_wrapper"); 179 "wasm::uint64_to_float64_wrapper");
180 Add(ExternalReference::wasm_float32_to_int64(isolate).address(), 180 Add(ExternalReference::wasm_float32_to_int64(isolate).address(),
181 "wasm::float32_to_int64_wrapper"); 181 "wasm::float32_to_int64_wrapper");
182 Add(ExternalReference::wasm_float32_to_uint64(isolate).address(), 182 Add(ExternalReference::wasm_float32_to_uint64(isolate).address(),
183 "wasm::float32_to_uint64_wrapper"); 183 "wasm::float32_to_uint64_wrapper");
184 Add(ExternalReference::wasm_float64_to_int64(isolate).address(), 184 Add(ExternalReference::wasm_float64_to_int64(isolate).address(),
185 "wasm::float64_to_int64_wrapper"); 185 "wasm::float64_to_int64_wrapper");
186 Add(ExternalReference::wasm_float64_to_uint64(isolate).address(), 186 Add(ExternalReference::wasm_float64_to_uint64(isolate).address(),
187 "wasm::float64_to_uint64_wrapper"); 187 "wasm::float64_to_uint64_wrapper");
188 Add(ExternalReference::wasm_float64_pow(isolate).address(),
189 "wasm::float64_pow");
188 Add(ExternalReference::wasm_int64_div(isolate).address(), "wasm::int64_div"); 190 Add(ExternalReference::wasm_int64_div(isolate).address(), "wasm::int64_div");
189 Add(ExternalReference::wasm_int64_mod(isolate).address(), "wasm::int64_mod"); 191 Add(ExternalReference::wasm_int64_mod(isolate).address(), "wasm::int64_mod");
190 Add(ExternalReference::wasm_uint64_div(isolate).address(), 192 Add(ExternalReference::wasm_uint64_div(isolate).address(),
191 "wasm::uint64_div"); 193 "wasm::uint64_div");
192 Add(ExternalReference::wasm_uint64_mod(isolate).address(), 194 Add(ExternalReference::wasm_uint64_mod(isolate).address(),
193 "wasm::uint64_mod"); 195 "wasm::uint64_mod");
194 Add(ExternalReference::wasm_word32_ctz(isolate).address(), 196 Add(ExternalReference::wasm_word32_ctz(isolate).address(),
195 "wasm::word32_ctz"); 197 "wasm::word32_ctz");
196 Add(ExternalReference::wasm_word64_ctz(isolate).address(), 198 Add(ExternalReference::wasm_word64_ctz(isolate).address(),
197 "wasm::word64_ctz"); 199 "wasm::word64_ctz");
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
439 if (api_external_references != nullptr) { 441 if (api_external_references != nullptr) {
440 while (*api_external_references != 0) { 442 while (*api_external_references != 0) {
441 Add(reinterpret_cast<Address>(*api_external_references), "<embedder>"); 443 Add(reinterpret_cast<Address>(*api_external_references), "<embedder>");
442 api_external_references++; 444 api_external_references++;
443 } 445 }
444 } 446 }
445 } 447 }
446 448
447 } // namespace internal 449 } // namespace internal
448 } // namespace v8 450 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/wasm-compiler.cc ('k') | src/wasm/wasm-external-refs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698