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

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

Issue 2017733002: Turbofan: Rename UnallocatedOperand policies from '*DOUBLE*' to '*FP*'. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Rebase. Created 4 years, 6 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.h ('k') | src/compiler/instruction-scheduler.h » ('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 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/compiler/common-operator.h" 5 #include "src/compiler/common-operator.h"
6 #include "src/compiler/graph.h" 6 #include "src/compiler/graph.h"
7 #include "src/compiler/instruction.h" 7 #include "src/compiler/instruction.h"
8 #include "src/compiler/schedule.h" 8 #include "src/compiler/schedule.h"
9 #include "src/compiler/state-values-utils.h" 9 #include "src/compiler/state-values-utils.h"
10 10
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 return os << "(=" << unalloc->fixed_slot_index() << "S)"; 88 return os << "(=" << unalloc->fixed_slot_index() << "S)";
89 } 89 }
90 switch (unalloc->extended_policy()) { 90 switch (unalloc->extended_policy()) {
91 case UnallocatedOperand::NONE: 91 case UnallocatedOperand::NONE:
92 return os; 92 return os;
93 case UnallocatedOperand::FIXED_REGISTER: 93 case UnallocatedOperand::FIXED_REGISTER:
94 return os << "(=" 94 return os << "(="
95 << conf->GetGeneralRegisterName( 95 << conf->GetGeneralRegisterName(
96 unalloc->fixed_register_index()) 96 unalloc->fixed_register_index())
97 << ")"; 97 << ")";
98 case UnallocatedOperand::FIXED_DOUBLE_REGISTER: 98 case UnallocatedOperand::FIXED_FP_REGISTER:
99 return os << "(=" 99 return os << "(="
100 << conf->GetDoubleRegisterName( 100 << conf->GetDoubleRegisterName(
101 unalloc->fixed_register_index()) 101 unalloc->fixed_register_index())
102 << ")"; 102 << ")";
103 case UnallocatedOperand::MUST_HAVE_REGISTER: 103 case UnallocatedOperand::MUST_HAVE_REGISTER:
104 return os << "(R)"; 104 return os << "(R)";
105 case UnallocatedOperand::MUST_HAVE_SLOT: 105 case UnallocatedOperand::MUST_HAVE_SLOT:
106 return os << "(S)"; 106 return os << "(S)";
107 case UnallocatedOperand::SAME_AS_FIRST_INPUT: 107 case UnallocatedOperand::SAME_AS_FIRST_INPUT:
108 return os << "(1)"; 108 return os << "(1)";
(...skipping 917 matching lines...) Expand 10 before | Expand all | Expand 10 after
1026 } 1026 }
1027 for (int i = 0; i < code.InstructionBlockCount(); i++) { 1027 for (int i = 0; i < code.InstructionBlockCount(); i++) {
1028 printable.sequence_->PrintBlock(printable.register_configuration_, i); 1028 printable.sequence_->PrintBlock(printable.register_configuration_, i);
1029 } 1029 }
1030 return os; 1030 return os;
1031 } 1031 }
1032 1032
1033 } // namespace compiler 1033 } // namespace compiler
1034 } // namespace internal 1034 } // namespace internal
1035 } // namespace v8 1035 } // namespace v8
OLDNEW
« no previous file with comments | « src/compiler/instruction.h ('k') | src/compiler/instruction-scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698