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

Side by Side Diff: src/compiler/raw-machine-assembler.h

Issue 2101123005: [turbofan] Introduce integer multiplication with overflow. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: REBASE. 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/opcodes.h ('k') | src/compiler/typer.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 2014 the V8 project authors. All rights reserved. 1 // Copyright 2014 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_RAW_MACHINE_ASSEMBLER_H_ 5 #ifndef V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 6 #define V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
7 7
8 #include "src/assembler.h" 8 #include "src/assembler.h"
9 #include "src/compiler/common-operator.h" 9 #include "src/compiler/common-operator.h"
10 #include "src/compiler/graph.h" 10 #include "src/compiler/graph.h"
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 } 248 }
249 Node* Int32SubWithOverflow(Node* a, Node* b) { 249 Node* Int32SubWithOverflow(Node* a, Node* b) {
250 return AddNode(machine()->Int32SubWithOverflow(), a, b); 250 return AddNode(machine()->Int32SubWithOverflow(), a, b);
251 } 251 }
252 Node* Int32Mul(Node* a, Node* b) { 252 Node* Int32Mul(Node* a, Node* b) {
253 return AddNode(machine()->Int32Mul(), a, b); 253 return AddNode(machine()->Int32Mul(), a, b);
254 } 254 }
255 Node* Int32MulHigh(Node* a, Node* b) { 255 Node* Int32MulHigh(Node* a, Node* b) {
256 return AddNode(machine()->Int32MulHigh(), a, b); 256 return AddNode(machine()->Int32MulHigh(), a, b);
257 } 257 }
258 Node* Int32MulWithOverflow(Node* a, Node* b) {
259 return AddNode(machine()->Int32MulWithOverflow(), a, b);
260 }
258 Node* Int32Div(Node* a, Node* b) { 261 Node* Int32Div(Node* a, Node* b) {
259 return AddNode(machine()->Int32Div(), a, b); 262 return AddNode(machine()->Int32Div(), a, b);
260 } 263 }
261 Node* Int32Mod(Node* a, Node* b) { 264 Node* Int32Mod(Node* a, Node* b) {
262 return AddNode(machine()->Int32Mod(), a, b); 265 return AddNode(machine()->Int32Mod(), a, b);
263 } 266 }
264 Node* Int32LessThan(Node* a, Node* b) { 267 Node* Int32LessThan(Node* a, Node* b) {
265 return AddNode(machine()->Int32LessThan(), a, b); 268 return AddNode(machine()->Int32LessThan(), a, b);
266 } 269 }
267 Node* Int32LessThanOrEqual(Node* a, Node* b) { 270 Node* Int32LessThanOrEqual(Node* a, Node* b) {
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after
795 bool deferred_; 798 bool deferred_;
796 friend class RawMachineAssembler; 799 friend class RawMachineAssembler;
797 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel); 800 DISALLOW_COPY_AND_ASSIGN(RawMachineLabel);
798 }; 801 };
799 802
800 } // namespace compiler 803 } // namespace compiler
801 } // namespace internal 804 } // namespace internal
802 } // namespace v8 805 } // namespace v8
803 806
804 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_ 807 #endif // V8_COMPILER_RAW_MACHINE_ASSEMBLER_H_
OLDNEW
« no previous file with comments | « src/compiler/opcodes.h ('k') | src/compiler/typer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698