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

Side by Side Diff: src/crankshaft/s390/lithium-codegen-s390.h

Issue 2043843002: S390: Used RISBG in MacroAssembler::IndexToArrayOffset to improve performance. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Changed keyIsNotNegative to keyMaybeNegative (previous bool direction was incorrect). Added default… 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/crankshaft/s390/lithium-codegen-s390.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 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 #ifndef V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ 5 #ifndef V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_
6 #define V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ 6 #define V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_
7 7
8 #include "src/ast/scopes.h" 8 #include "src/ast/scopes.h"
9 #include "src/crankshaft/lithium-codegen.h" 9 #include "src/crankshaft/lithium-codegen.h"
10 #include "src/crankshaft/s390/lithium-gap-resolver-s390.h" 10 #include "src/crankshaft/s390/lithium-gap-resolver-s390.h"
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, Register result, 109 void DoDeferredLoadMutableDouble(LLoadFieldByIndex* instr, Register result,
110 Register object, Register index); 110 Register object, Register index);
111 111
112 // Parallel move support. 112 // Parallel move support.
113 void DoParallelMove(LParallelMove* move); 113 void DoParallelMove(LParallelMove* move);
114 void DoGap(LGap* instr); 114 void DoGap(LGap* instr);
115 115
116 MemOperand PrepareKeyedOperand(Register key, Register base, 116 MemOperand PrepareKeyedOperand(Register key, Register base,
117 bool key_is_constant, bool key_is_tagged, 117 bool key_is_constant, bool key_is_tagged,
118 int constant_key, int element_size_shift, 118 int constant_key, int element_size_shift,
119 int base_offset); 119 int base_offset,
120 bool keyMaybeNegative = true);
120 121
121 // Emit frame translation commands for an environment. 122 // Emit frame translation commands for an environment.
122 void WriteTranslation(LEnvironment* environment, Translation* translation); 123 void WriteTranslation(LEnvironment* environment, Translation* translation);
123 124
124 // Declare methods that deal with the individual node types. 125 // Declare methods that deal with the individual node types.
125 #define DECLARE_DO(type) void Do##type(L##type* node); 126 #define DECLARE_DO(type) void Do##type(L##type* node);
126 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 127 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
127 #undef DECLARE_DO 128 #undef DECLARE_DO
128 129
129 private: 130 private:
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 LCodeGen* codegen_; 349 LCodeGen* codegen_;
349 Label entry_; 350 Label entry_;
350 Label exit_; 351 Label exit_;
351 Label* external_exit_; 352 Label* external_exit_;
352 int instruction_index_; 353 int instruction_index_;
353 }; 354 };
354 } // namespace internal 355 } // namespace internal
355 } // namespace v8 356 } // namespace v8
356 357
357 #endif // V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ 358 #endif // V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_
OLDNEW
« no previous file with comments | « no previous file | src/crankshaft/s390/lithium-codegen-s390.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698