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

Side by Side Diff: src/x87/lithium-codegen-x87.h

Issue 505103002: X87: Eliminate code duplication in lithium calls to vector-based LoadICs (Closed) Base URL: https://chromium.googlesource.com/external/v8.git@bleeding_edge
Patch Set: Created 6 years, 3 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/x87/lithium-codegen-x87.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 2012 the V8 project authors. All rights reserved. 1 // Copyright 2012 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_X87_LITHIUM_CODEGEN_X87_H_ 5 #ifndef V8_X87_LITHIUM_CODEGEN_X87_H_
6 #define V8_X87_LITHIUM_CODEGEN_X87_H_ 6 #define V8_X87_LITHIUM_CODEGEN_X87_H_
7 7
8 #include "src/x87/lithium-x87.h" 8 #include "src/x87/lithium-x87.h"
9 9
10 #include "src/base/logging.h" 10 #include "src/base/logging.h"
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 AllocationSiteMode mode); 337 AllocationSiteMode mode);
338 338
339 void EnsureSpaceForLazyDeopt(int space_needed) V8_OVERRIDE; 339 void EnsureSpaceForLazyDeopt(int space_needed) V8_OVERRIDE;
340 void DoLoadKeyedExternalArray(LLoadKeyed* instr); 340 void DoLoadKeyedExternalArray(LLoadKeyed* instr);
341 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr); 341 void DoLoadKeyedFixedDoubleArray(LLoadKeyed* instr);
342 void DoLoadKeyedFixedArray(LLoadKeyed* instr); 342 void DoLoadKeyedFixedArray(LLoadKeyed* instr);
343 void DoStoreKeyedExternalArray(LStoreKeyed* instr); 343 void DoStoreKeyedExternalArray(LStoreKeyed* instr);
344 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr); 344 void DoStoreKeyedFixedDoubleArray(LStoreKeyed* instr);
345 void DoStoreKeyedFixedArray(LStoreKeyed* instr); 345 void DoStoreKeyedFixedArray(LStoreKeyed* instr);
346 346
347 template <class T>
348 void EmitVectorLoadICRegisters(T* instr);
349
347 void EmitReturn(LReturn* instr, bool dynamic_frame_alignment); 350 void EmitReturn(LReturn* instr, bool dynamic_frame_alignment);
348 351
349 // Emits code for pushing either a tagged constant, a (non-double) 352 // Emits code for pushing either a tagged constant, a (non-double)
350 // register, or a stack slot operand. 353 // register, or a stack slot operand.
351 void EmitPushTaggedOperand(LOperand* operand); 354 void EmitPushTaggedOperand(LOperand* operand);
352 355
353 void X87Fld(Operand src, X87OperandType opts); 356 void X87Fld(Operand src, X87OperandType opts);
354 357
355 void EmitFlushX87ForDeopt(); 358 void EmitFlushX87ForDeopt();
356 void FlushX87StackIfNecessary(LInstruction* instr) { 359 void FlushX87StackIfNecessary(LInstruction* instr) {
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
495 Label exit_; 498 Label exit_;
496 Label* external_exit_; 499 Label* external_exit_;
497 Label done_; 500 Label done_;
498 int instruction_index_; 501 int instruction_index_;
499 LCodeGen::X87Stack x87_stack_; 502 LCodeGen::X87Stack x87_stack_;
500 }; 503 };
501 504
502 } } // namespace v8::internal 505 } } // namespace v8::internal
503 506
504 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_ 507 #endif // V8_X87_LITHIUM_CODEGEN_X87_H_
OLDNEW
« no previous file with comments | « no previous file | src/x87/lithium-codegen-x87.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698