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

Side by Side Diff: src/compiler/register-allocator.cc

Issue 2157873002: [Turbofan] Add simd128 fixed live ranges to inactive. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: 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 | « no previous file | no next file » | 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 #include "src/base/adapters.h" 5 #include "src/base/adapters.h"
6 #include "src/compiler/linkage.h" 6 #include "src/compiler/linkage.h"
7 #include "src/compiler/register-allocator.h" 7 #include "src/compiler/register-allocator.h"
8 #include "src/string-stream.h" 8 #include "src/string-stream.h"
9 9
10 namespace v8 { 10 namespace v8 {
(...skipping 2632 matching lines...) Expand 10 before | Expand all | Expand 10 after
2643 for (TopLevelLiveRange* current : data()->fixed_live_ranges()) { 2643 for (TopLevelLiveRange* current : data()->fixed_live_ranges()) {
2644 if (current != nullptr) AddToInactive(current); 2644 if (current != nullptr) AddToInactive(current);
2645 } 2645 }
2646 } else { 2646 } else {
2647 for (TopLevelLiveRange* current : data()->fixed_float_live_ranges()) { 2647 for (TopLevelLiveRange* current : data()->fixed_float_live_ranges()) {
2648 if (current != nullptr) AddToInactive(current); 2648 if (current != nullptr) AddToInactive(current);
2649 } 2649 }
2650 for (TopLevelLiveRange* current : data()->fixed_double_live_ranges()) { 2650 for (TopLevelLiveRange* current : data()->fixed_double_live_ranges()) {
2651 if (current != nullptr) AddToInactive(current); 2651 if (current != nullptr) AddToInactive(current);
2652 } 2652 }
2653 for (TopLevelLiveRange* current : data()->fixed_simd128_live_ranges()) {
2654 if (current != nullptr) AddToInactive(current);
2655 }
2653 } 2656 }
2654 2657
2655 while (!unhandled_live_ranges().empty()) { 2658 while (!unhandled_live_ranges().empty()) {
2656 DCHECK(UnhandledIsSorted()); 2659 DCHECK(UnhandledIsSorted());
2657 LiveRange* current = unhandled_live_ranges().back(); 2660 LiveRange* current = unhandled_live_ranges().back();
2658 unhandled_live_ranges().pop_back(); 2661 unhandled_live_ranges().pop_back();
2659 DCHECK(UnhandledIsSorted()); 2662 DCHECK(UnhandledIsSorted());
2660 LifetimePosition position = current->Start(); 2663 LifetimePosition position = current->Start();
2661 #ifdef DEBUG 2664 #ifdef DEBUG
2662 allocation_finger_ = position; 2665 allocation_finger_ = position;
(...skipping 1117 matching lines...) Expand 10 before | Expand all | Expand 10 after
3780 } 3783 }
3781 } 3784 }
3782 } 3785 }
3783 } 3786 }
3784 } 3787 }
3785 3788
3786 3789
3787 } // namespace compiler 3790 } // namespace compiler
3788 } // namespace internal 3791 } // namespace internal
3789 } // namespace v8 3792 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698