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

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

Issue 1910123002: PPC64: [turbofan] Word32 loads should be unsigned. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 8 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 case kPPC_BitcastFloat32ToInt32: 106 case kPPC_BitcastFloat32ToInt32:
107 case kPPC_BitcastInt64ToDouble: 107 case kPPC_BitcastInt64ToDouble:
108 case kPPC_BitcastDoubleToInt64: 108 case kPPC_BitcastDoubleToInt64:
109 return kNoOpcodeFlags; 109 return kNoOpcodeFlags;
110 110
111 case kPPC_LoadWordS8: 111 case kPPC_LoadWordS8:
112 case kPPC_LoadWordU8: 112 case kPPC_LoadWordU8:
113 case kPPC_LoadWordS16: 113 case kPPC_LoadWordS16:
114 case kPPC_LoadWordU16: 114 case kPPC_LoadWordU16:
115 case kPPC_LoadWordS32: 115 case kPPC_LoadWordS32:
116 case kPPC_LoadWordU32:
116 case kPPC_LoadWord64: 117 case kPPC_LoadWord64:
117 case kPPC_LoadFloat32: 118 case kPPC_LoadFloat32:
118 case kPPC_LoadDouble: 119 case kPPC_LoadDouble:
119 return kIsLoadOperation; 120 return kIsLoadOperation;
120 121
121 case kPPC_StoreWord8: 122 case kPPC_StoreWord8:
122 case kPPC_StoreWord16: 123 case kPPC_StoreWord16:
123 case kPPC_StoreWord32: 124 case kPPC_StoreWord32:
124 case kPPC_StoreWord64: 125 case kPPC_StoreWord64:
125 case kPPC_StoreFloat32: 126 case kPPC_StoreFloat32:
(...skipping 16 matching lines...) Expand all
142 143
143 144
144 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) { 145 int InstructionScheduler::GetInstructionLatency(const Instruction* instr) {
145 // TODO(all): Add instruction cost modeling. 146 // TODO(all): Add instruction cost modeling.
146 return 1; 147 return 1;
147 } 148 }
148 149
149 } // namespace compiler 150 } // namespace compiler
150 } // namespace internal 151 } // namespace internal
151 } // namespace v8 152 } // 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