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

Side by Side Diff: src/compiler/simplified-operator.cc

Issue 2141953002: [Turbofan]: Add integer multiplication with overflow to typed lowering. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@multiply
Patch Set: Code comments. 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/simplified-operator.h ('k') | src/compiler/verifier.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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/compiler/simplified-operator.h" 5 #include "src/compiler/simplified-operator.h"
6 6
7 #include "src/base/lazy-instance.h" 7 #include "src/base/lazy-instance.h"
8 #include "src/compiler/opcodes.h" 8 #include "src/compiler/opcodes.h"
9 #include "src/compiler/operator.h" 9 #include "src/compiler/operator.h"
10 #include "src/types.h" 10 #include "src/types.h"
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 V(CheckIf, 1, 0) \ 316 V(CheckIf, 1, 0) \
317 V(CheckNumber, 1, 1) \ 317 V(CheckNumber, 1, 1) \
318 V(CheckTaggedPointer, 1, 1) \ 318 V(CheckTaggedPointer, 1, 1) \
319 V(CheckTaggedSigned, 1, 1) \ 319 V(CheckTaggedSigned, 1, 1) \
320 V(CheckedInt32Add, 2, 1) \ 320 V(CheckedInt32Add, 2, 1) \
321 V(CheckedInt32Sub, 2, 1) \ 321 V(CheckedInt32Sub, 2, 1) \
322 V(CheckedInt32Div, 2, 1) \ 322 V(CheckedInt32Div, 2, 1) \
323 V(CheckedInt32Mod, 2, 1) \ 323 V(CheckedInt32Mod, 2, 1) \
324 V(CheckedUint32Div, 2, 1) \ 324 V(CheckedUint32Div, 2, 1) \
325 V(CheckedUint32Mod, 2, 1) \ 325 V(CheckedUint32Mod, 2, 1) \
326 V(CheckedInt32Mul, 2, 1) \
326 V(CheckedUint32ToInt32, 1, 1) \ 327 V(CheckedUint32ToInt32, 1, 1) \
327 V(CheckedFloat64ToInt32, 1, 1) \ 328 V(CheckedFloat64ToInt32, 1, 1) \
328 V(CheckedTaggedToInt32, 1, 1) \ 329 V(CheckedTaggedToInt32, 1, 1) \
329 V(CheckedTaggedToFloat64, 1, 1) 330 V(CheckedTaggedToFloat64, 1, 1)
330 331
331 struct SimplifiedOperatorGlobalCache final { 332 struct SimplifiedOperatorGlobalCache final {
332 #define PURE(Name, properties, input_count) \ 333 #define PURE(Name, properties, input_count) \
333 struct Name##Operator final : public Operator { \ 334 struct Name##Operator final : public Operator { \
334 Name##Operator() \ 335 Name##Operator() \
335 : Operator(IrOpcode::k##Name, Operator::kPure | properties, #Name, \ 336 : Operator(IrOpcode::k##Name, Operator::kPure | properties, #Name, \
(...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after
544 Operator::kNoDeopt | Operator::kNoThrow | properties, \ 545 Operator::kNoDeopt | Operator::kNoThrow | properties, \
545 #Name, value_input_count, 1, control_input_count, \ 546 #Name, value_input_count, 1, control_input_count, \
546 output_count, 1, 0, access); \ 547 output_count, 1, 0, access); \
547 } 548 }
548 ACCESS_OP_LIST(ACCESS) 549 ACCESS_OP_LIST(ACCESS)
549 #undef ACCESS 550 #undef ACCESS
550 551
551 } // namespace compiler 552 } // namespace compiler
552 } // namespace internal 553 } // namespace internal
553 } // namespace v8 554 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/simplified-operator.h ('k') | src/compiler/verifier.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698