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: src/compiler/wasm-compiler.h

Issue 2204963002: [wasm] Use the Float64Max/Min machine operators to implement F64Max/Min. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 4 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 | « no previous file | src/compiler/wasm-compiler.cc » ('j') | src/compiler/x64/code-generator-x64.cc » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 the V8 project authors. All rights reserved. 1 // Copyright 2015 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_COMPILER_WASM_COMPILER_H_ 5 #ifndef V8_COMPILER_WASM_COMPILER_H_
6 #define V8_COMPILER_WASM_COMPILER_H_ 6 #define V8_COMPILER_WASM_COMPILER_H_
7 7
8 #include <memory> 8 #include <memory>
9 9
10 // Clients of this interface shouldn't depend on lots of compiler internals. 10 // Clients of this interface shouldn't depend on lots of compiler internals.
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 Node* BuildCCall(MachineSignature* sig, Node** args); 247 Node* BuildCCall(MachineSignature* sig, Node** args);
248 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, 248 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args,
249 wasm::WasmCodePosition position); 249 wasm::WasmCodePosition position);
250 250
251 Node* BuildF32Neg(Node* input); 251 Node* BuildF32Neg(Node* input);
252 Node* BuildF64Neg(Node* input); 252 Node* BuildF64Neg(Node* input);
253 Node* BuildF32CopySign(Node* left, Node* right); 253 Node* BuildF32CopySign(Node* left, Node* right);
254 Node* BuildF64CopySign(Node* left, Node* right); 254 Node* BuildF64CopySign(Node* left, Node* right);
255 Node* BuildF32Min(Node* left, Node* right); 255 Node* BuildF32Min(Node* left, Node* right);
256 Node* BuildF32Max(Node* left, Node* right); 256 Node* BuildF32Max(Node* left, Node* right);
257 Node* BuildF64Min(Node* left, Node* right);
258 Node* BuildF64Max(Node* left, Node* right);
259 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position); 257 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position);
260 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position); 258 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position);
261 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position); 259 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position);
262 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position); 260 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position);
263 Node* BuildI32Ctz(Node* input); 261 Node* BuildI32Ctz(Node* input);
264 Node* BuildI32Popcnt(Node* input); 262 Node* BuildI32Popcnt(Node* input);
265 Node* BuildI64Ctz(Node* input); 263 Node* BuildI64Ctz(Node* input);
266 Node* BuildI64Popcnt(Node* input); 264 Node* BuildI64Popcnt(Node* input);
267 Node* BuildBitCountingCall(Node* input, ExternalReference ref, 265 Node* BuildBitCountingCall(Node* input, ExternalReference ref,
268 MachineRepresentation input_type); 266 MachineRepresentation input_type);
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 } 352 }
355 353
356 // Simd helper functions 354 // Simd helper functions
357 MachineOperatorBuilder* simd(); 355 MachineOperatorBuilder* simd();
358 }; 356 };
359 } // namespace compiler 357 } // namespace compiler
360 } // namespace internal 358 } // namespace internal
361 } // namespace v8 359 } // namespace v8
362 360
363 #endif // V8_COMPILER_WASM_COMPILER_H_ 361 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « no previous file | src/compiler/wasm-compiler.cc » ('j') | src/compiler/x64/code-generator-x64.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698