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

Side by Side Diff: src/compiler/wasm-compiler.h

Issue 2252863003: [turbofan] Add Float32(Max|Min) machine operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Type is number now. 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 | « src/compiler/verifier.cc ('k') | src/compiler/wasm-compiler.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 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after
232 232
233 Node* MaskShiftCount32(Node* node); 233 Node* MaskShiftCount32(Node* node);
234 Node* MaskShiftCount64(Node* node); 234 Node* MaskShiftCount64(Node* node);
235 235
236 Node* BuildCCall(MachineSignature* sig, Node** args); 236 Node* BuildCCall(MachineSignature* sig, Node** args);
237 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, 237 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args,
238 wasm::WasmCodePosition position); 238 wasm::WasmCodePosition position);
239 239
240 Node* BuildF32CopySign(Node* left, Node* right); 240 Node* BuildF32CopySign(Node* left, Node* right);
241 Node* BuildF64CopySign(Node* left, Node* right); 241 Node* BuildF64CopySign(Node* left, Node* right);
242 Node* BuildF32Min(Node* left, Node* right);
243 Node* BuildF32Max(Node* left, Node* right);
244 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position); 242 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position);
245 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position); 243 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position);
246 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position); 244 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position);
247 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position); 245 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position);
248 Node* BuildI32Ctz(Node* input); 246 Node* BuildI32Ctz(Node* input);
249 Node* BuildI32Popcnt(Node* input); 247 Node* BuildI32Popcnt(Node* input);
250 Node* BuildI64Ctz(Node* input); 248 Node* BuildI64Ctz(Node* input);
251 Node* BuildI64Popcnt(Node* input); 249 Node* BuildI64Popcnt(Node* input);
252 Node* BuildBitCountingCall(Node* input, ExternalReference ref, 250 Node* BuildBitCountingCall(Node* input, ExternalReference ref,
253 MachineRepresentation input_type); 251 MachineRepresentation input_type);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 Node** buf = Buffer(new_count); 333 Node** buf = Buffer(new_count);
336 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); 334 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*));
337 return buf; 335 return buf;
338 } 336 }
339 }; 337 };
340 } // namespace compiler 338 } // namespace compiler
341 } // namespace internal 339 } // namespace internal
342 } // namespace v8 340 } // namespace v8
343 341
344 #endif // V8_COMPILER_WASM_COMPILER_H_ 342 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW
« no previous file with comments | « src/compiler/verifier.cc ('k') | src/compiler/wasm-compiler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698