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

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: Fixed compilation errors, added key_not_negative bool arg for IndexToArrayOffset 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
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, bool key_not_negative);
120 120
121 // Emit frame translation commands for an environment. 121 // Emit frame translation commands for an environment.
122 void WriteTranslation(LEnvironment* environment, Translation* translation); 122 void WriteTranslation(LEnvironment* environment, Translation* translation);
123 123
124 // Declare methods that deal with the individual node types. 124 // Declare methods that deal with the individual node types.
125 #define DECLARE_DO(type) void Do##type(L##type* node); 125 #define DECLARE_DO(type) void Do##type(L##type* node);
126 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO) 126 LITHIUM_CONCRETE_INSTRUCTION_LIST(DECLARE_DO)
127 #undef DECLARE_DO 127 #undef DECLARE_DO
128 128
129 private: 129 private:
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 LCodeGen* codegen_; 348 LCodeGen* codegen_;
349 Label entry_; 349 Label entry_;
350 Label exit_; 350 Label exit_;
351 Label* external_exit_; 351 Label* external_exit_;
352 int instruction_index_; 352 int instruction_index_;
353 }; 353 };
354 } // namespace internal 354 } // namespace internal
355 } // namespace v8 355 } // namespace v8
356 356
357 #endif // V8_CRANKSHAFT_S390_LITHIUM_CODEGEN_S390_H_ 357 #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') | src/s390/macro-assembler-s390.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698