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

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

Issue 1891033002: [Atomics] Remove Atomics code stubs; use TF ops (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: remove s390 code stub 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/instruction-codes.h ('k') | src/compiler/instruction-selector.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 #include "src/base/adapters.h" 7 #include "src/base/adapters.h"
8 #include "src/base/utils/random-number-generator.h" 8 #include "src/base/utils/random-number-generator.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 236 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 247
248 case kCheckedStoreWord8: 248 case kCheckedStoreWord8:
249 case kCheckedStoreWord16: 249 case kCheckedStoreWord16:
250 case kCheckedStoreWord32: 250 case kCheckedStoreWord32:
251 case kCheckedStoreWord64: 251 case kCheckedStoreWord64:
252 case kCheckedStoreFloat32: 252 case kCheckedStoreFloat32:
253 case kCheckedStoreFloat64: 253 case kCheckedStoreFloat64:
254 case kArchStoreWithWriteBarrier: 254 case kArchStoreWithWriteBarrier:
255 return kHasSideEffect; 255 return kHasSideEffect;
256 256
257 case kAtomicLoadInt8:
258 case kAtomicLoadUint8:
259 case kAtomicLoadInt16:
260 case kAtomicLoadUint16:
261 case kAtomicLoadWord32:
262 return kIsLoadOperation;
263
257 #define CASE(Name) case k##Name: 264 #define CASE(Name) case k##Name:
258 TARGET_ARCH_OPCODE_LIST(CASE) 265 TARGET_ARCH_OPCODE_LIST(CASE)
259 #undef CASE 266 #undef CASE
260 return GetTargetInstructionFlags(instr); 267 return GetTargetInstructionFlags(instr);
261 } 268 }
262 269
263 UNREACHABLE(); 270 UNREACHABLE();
264 return kNoOpcodeFlags; 271 return kNoOpcodeFlags;
265 } 272 }
266 273
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
309 } 316 }
310 } 317 }
311 318
312 node->set_total_latency(max_latency + node->latency()); 319 node->set_total_latency(max_latency + node->latency());
313 } 320 }
314 } 321 }
315 322
316 } // namespace compiler 323 } // namespace compiler
317 } // namespace internal 324 } // namespace internal
318 } // namespace v8 325 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction-codes.h ('k') | src/compiler/instruction-selector.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698