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

Side by Side Diff: src/compiler/ppc/instruction-scheduler-ppc.cc

Issue 2152363002: PPC: [turbofan] Introduce integer multiplication with overflow. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: fixed mullw instruction as suggested 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/ppc/instruction-codes-ppc.h ('k') | src/compiler/ppc/instruction-selector-ppc.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 #include "src/compiler/instruction-scheduler.h" 5 #include "src/compiler/instruction-scheduler.h"
6 6
7 namespace v8 { 7 namespace v8 {
8 namespace internal { 8 namespace internal {
9 namespace compiler { 9 namespace compiler {
10 10
(...skipping 26 matching lines...) Expand all
37 case kPPC_RotLeftAndClearRight64: 37 case kPPC_RotLeftAndClearRight64:
38 case kPPC_Add: 38 case kPPC_Add:
39 case kPPC_AddWithOverflow32: 39 case kPPC_AddWithOverflow32:
40 case kPPC_AddPair: 40 case kPPC_AddPair:
41 case kPPC_AddDouble: 41 case kPPC_AddDouble:
42 case kPPC_Sub: 42 case kPPC_Sub:
43 case kPPC_SubWithOverflow32: 43 case kPPC_SubWithOverflow32:
44 case kPPC_SubPair: 44 case kPPC_SubPair:
45 case kPPC_SubDouble: 45 case kPPC_SubDouble:
46 case kPPC_Mul32: 46 case kPPC_Mul32:
47 case kPPC_Mul32WithHigh32:
47 case kPPC_Mul64: 48 case kPPC_Mul64:
48 case kPPC_MulHigh32: 49 case kPPC_MulHigh32:
49 case kPPC_MulHighU32: 50 case kPPC_MulHighU32:
50 case kPPC_MulPair: 51 case kPPC_MulPair:
51 case kPPC_MulDouble: 52 case kPPC_MulDouble:
52 case kPPC_Div32: 53 case kPPC_Div32:
53 case kPPC_Div64: 54 case kPPC_Div64:
54 case kPPC_DivU32: 55 case kPPC_DivU32:
55 case kPPC_DivU64: 56 case kPPC_DivU64:
56 case kPPC_DivDouble: 57 case kPPC_DivDouble:
(...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 145
145 146
146 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 147 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
147 // TODO(all): Add instruction cost modeling. 148 // TODO(all): Add instruction cost modeling.
148 return 1; 149 return 1;
149 } 150 }
150 151
151 } // namespace compiler 152 } // namespace compiler
152 } // namespace internal 153 } // namespace internal
153 } // namespace v8 154 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/ppc/instruction-codes-ppc.h ('k') | src/compiler/ppc/instruction-selector-ppc.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698