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 2252863003: [turbofan] Add Float32(Max|Min) machine operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Improved tests and fixed a bug 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
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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 230
231 Node* MaskShiftCount32(Node* node); 231 Node* MaskShiftCount32(Node* node);
232 Node* MaskShiftCount64(Node* node); 232 Node* MaskShiftCount64(Node* node);
233 233
234 Node* BuildCCall(MachineSignature* sig, Node** args); 234 Node* BuildCCall(MachineSignature* sig, Node** args);
235 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args, 235 Node* BuildWasmCall(wasm::FunctionSig* sig, Node** args,
236 wasm::WasmCodePosition position); 236 wasm::WasmCodePosition position);
237 237
238 Node* BuildF32CopySign(Node* left, Node* right); 238 Node* BuildF32CopySign(Node* left, Node* right);
239 Node* BuildF64CopySign(Node* left, Node* right); 239 Node* BuildF64CopySign(Node* left, Node* right);
240 Node* BuildF32Min(Node* left, Node* right);
241 Node* BuildF32Max(Node* left, Node* right);
242 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position); 240 Node* BuildI32SConvertF32(Node* input, wasm::WasmCodePosition position);
243 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position); 241 Node* BuildI32SConvertF64(Node* input, wasm::WasmCodePosition position);
244 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position); 242 Node* BuildI32UConvertF32(Node* input, wasm::WasmCodePosition position);
245 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position); 243 Node* BuildI32UConvertF64(Node* input, wasm::WasmCodePosition position);
246 Node* BuildI32Ctz(Node* input); 244 Node* BuildI32Ctz(Node* input);
247 Node* BuildI32Popcnt(Node* input); 245 Node* BuildI32Popcnt(Node* input);
248 Node* BuildI64Ctz(Node* input); 246 Node* BuildI64Ctz(Node* input);
249 Node* BuildI64Popcnt(Node* input); 247 Node* BuildI64Popcnt(Node* input);
250 Node* BuildBitCountingCall(Node* input, ExternalReference ref, 248 Node* BuildBitCountingCall(Node* input, ExternalReference ref,
251 MachineRepresentation input_type); 249 MachineRepresentation input_type);
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
333 Node** buf = Buffer(new_count); 331 Node** buf = Buffer(new_count);
334 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*)); 332 if (buf != buffer) memcpy(buf, buffer, old_count * sizeof(Node*));
335 return buf; 333 return buf;
336 } 334 }
337 }; 335 };
338 } // namespace compiler 336 } // namespace compiler
339 } // namespace internal 337 } // namespace internal
340 } // namespace v8 338 } // namespace v8
341 339
342 #endif // V8_COMPILER_WASM_COMPILER_H_ 340 #endif // V8_COMPILER_WASM_COMPILER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698