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

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

Issue 698383003: [turbofan] Use load/store indexes as 64-bit registers on arm64. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 1 month 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 | Annotate | Revision Log
« 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/compiler/code-generator.h" 5 #include "src/compiler/code-generator.h"
6 6
7 #include "src/arm64/macro-assembler-arm64.h" 7 #include "src/arm64/macro-assembler-arm64.h"
8 #include "src/compiler/code-generator-impl.h" 8 #include "src/compiler/code-generator-impl.h"
9 #include "src/compiler/gap-resolver.h" 9 #include "src/compiler/gap-resolver.h"
10 #include "src/compiler/node-matchers.h" 10 #include "src/compiler/node-matchers.h"
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 case kMode_Operand2_R_LSL_I: 93 case kMode_Operand2_R_LSL_I:
94 case kMode_Operand2_R_LSR_I: 94 case kMode_Operand2_R_LSR_I:
95 case kMode_Operand2_R_ASR_I: 95 case kMode_Operand2_R_ASR_I:
96 case kMode_Operand2_R_ROR_I: 96 case kMode_Operand2_R_ROR_I:
97 break; 97 break;
98 case kMode_MRI: 98 case kMode_MRI:
99 *first_index += 2; 99 *first_index += 2;
100 return MemOperand(InputRegister(index + 0), InputInt32(index + 1)); 100 return MemOperand(InputRegister(index + 0), InputInt32(index + 1));
101 case kMode_MRR: 101 case kMode_MRR:
102 *first_index += 2; 102 *first_index += 2;
103 return MemOperand(InputRegister(index + 0), InputRegister(index + 1), 103 return MemOperand(InputRegister(index + 0), InputRegister(index + 1));
104 SXTW);
105 } 104 }
106 UNREACHABLE(); 105 UNREACHABLE();
107 return MemOperand(no_reg); 106 return MemOperand(no_reg);
108 } 107 }
109 108
110 MemOperand MemoryOperand() { 109 MemOperand MemoryOperand() {
111 int index = 0; 110 int index = 0;
112 return MemoryOperand(&index); 111 return MemoryOperand(&index);
113 } 112 }
114 113
(...skipping 906 matching lines...) Expand 10 before | Expand all | Expand 10 after
1021 } 1020 }
1022 } 1021 }
1023 MarkLazyDeoptSite(); 1022 MarkLazyDeoptSite();
1024 } 1023 }
1025 1024
1026 #undef __ 1025 #undef __
1027 1026
1028 } // namespace compiler 1027 } // namespace compiler
1029 } // namespace internal 1028 } // namespace internal
1030 } // namespace v8 1029 } // 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