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

Side by Side Diff: src/compiler/arm/code-generator-arm.cc

Issue 2086653003: [Turbofan] Add the concept of aliasing to RegisterConfiguration. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix inactive live range population. 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 | « no previous file | src/compiler/instruction.cc » ('j') | src/compiler/instruction.cc » ('J')
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/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm/macro-assembler-arm.h" 7 #include "src/arm/macro-assembler-arm.h"
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/compiler/code-generator-impl.h" 9 #include "src/compiler/code-generator-impl.h"
10 #include "src/compiler/gap-resolver.h" 10 #include "src/compiler/gap-resolver.h"
(...skipping 17 matching lines...) Expand all
28 : InstructionOperandConverter(gen, instr) {} 28 : InstructionOperandConverter(gen, instr) {}
29 29
30 SwVfpRegister OutputFloat32Register(size_t index = 0) { 30 SwVfpRegister OutputFloat32Register(size_t index = 0) {
31 return ToFloat32Register(instr_->OutputAt(index)); 31 return ToFloat32Register(instr_->OutputAt(index));
32 } 32 }
33 33
34 SwVfpRegister InputFloat32Register(size_t index) { 34 SwVfpRegister InputFloat32Register(size_t index) {
35 return ToFloat32Register(instr_->InputAt(index)); 35 return ToFloat32Register(instr_->InputAt(index));
36 } 36 }
37 37
38 SwVfpRegister ToFloat32Register(InstructionOperand* op) { 38 SwVfpRegister ToFloat32Register(InstructionOperand* op) {
Mircea Trofin 2016/06/22 06:07:34 If this is only called for LocationOperands, shoul
bbudge 2016/06/22 20:16:03 I followed the pattern of ToFloat64Register. Chang
39 return ToFloat64Register(op).low(); 39 DCHECK(LocationOperand::cast(op)->representation() ==
40 MachineRepresentation::kFloat32);
41 return LocationOperand::cast(op)->GetFloatRegister();
40 } 42 }
41 43
42 LowDwVfpRegister OutputFloat64Register(size_t index = 0) { 44 LowDwVfpRegister OutputFloat64Register(size_t index = 0) {
43 return ToFloat64Register(instr_->OutputAt(index)); 45 return ToFloat64Register(instr_->OutputAt(index));
44 } 46 }
45 47
46 LowDwVfpRegister InputFloat64Register(size_t index) { 48 LowDwVfpRegister InputFloat64Register(size_t index) {
47 return ToFloat64Register(instr_->InputAt(index)); 49 return ToFloat64Register(instr_->InputAt(index));
48 } 50 }
49 51
(...skipping 1765 matching lines...) Expand 10 before | Expand all | Expand 10 after
1815 padding_size -= v8::internal::Assembler::kInstrSize; 1817 padding_size -= v8::internal::Assembler::kInstrSize;
1816 } 1818 }
1817 } 1819 }
1818 } 1820 }
1819 1821
1820 #undef __ 1822 #undef __
1821 1823
1822 } // namespace compiler 1824 } // namespace compiler
1823 } // namespace internal 1825 } // namespace internal
1824 } // namespace v8 1826 } // namespace v8
OLDNEW
« no previous file with comments | « no previous file | src/compiler/instruction.cc » ('j') | src/compiler/instruction.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698