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

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

Issue 371923006: Add mips64 port. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebase Created 6 years, 5 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 | Annotate | Revision Log
« no previous file with comments | « src/mips64/ic-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.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_MIPS_LITHIUM_CODEGEN_MIPS_H_ 5 #ifndef V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 6 #define V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
7 7
8 #include "src/deoptimizer.h" 8 #include "src/deoptimizer.h"
9 #include "src/lithium-codegen.h" 9 #include "src/lithium-codegen.h"
10 #include "src/mips/lithium-gap-resolver-mips.h" 10 #include "src/mips64/lithium-gap-resolver-mips64.h"
11 #include "src/mips/lithium-mips.h" 11 #include "src/mips64/lithium-mips64.h"
12 #include "src/safepoint-table.h" 12 #include "src/safepoint-table.h"
13 #include "src/scopes.h" 13 #include "src/scopes.h"
14 #include "src/utils.h" 14 #include "src/utils.h"
15 15
16 namespace v8 { 16 namespace v8 {
17 namespace internal { 17 namespace internal {
18 18
19 // Forward declarations. 19 // Forward declarations.
20 class LDeferredCode; 20 class LDeferredCode;
21 class SafepointGenerator; 21 class SafepointGenerator;
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 // LOperand is loaded into scratch, unless already a register. 69 // LOperand is loaded into scratch, unless already a register.
70 Register EmitLoadRegister(LOperand* op, Register scratch); 70 Register EmitLoadRegister(LOperand* op, Register scratch);
71 71
72 // LOperand must be a double register. 72 // LOperand must be a double register.
73 DoubleRegister ToDoubleRegister(LOperand* op) const; 73 DoubleRegister ToDoubleRegister(LOperand* op) const;
74 74
75 // LOperand is loaded into dbl_scratch, unless already a double register. 75 // LOperand is loaded into dbl_scratch, unless already a double register.
76 DoubleRegister EmitLoadDoubleRegister(LOperand* op, 76 DoubleRegister EmitLoadDoubleRegister(LOperand* op,
77 FloatRegister flt_scratch, 77 FloatRegister flt_scratch,
78 DoubleRegister dbl_scratch); 78 DoubleRegister dbl_scratch);
79 int32_t ToRepresentation(LConstantOperand* op, const Representation& r) const; 79 int32_t ToRepresentation_donotuse(LConstantOperand* op,
80 const Representation& r) const;
80 int32_t ToInteger32(LConstantOperand* op) const; 81 int32_t ToInteger32(LConstantOperand* op) const;
81 Smi* ToSmi(LConstantOperand* op) const; 82 Smi* ToSmi(LConstantOperand* op) const;
82 double ToDouble(LConstantOperand* op) const; 83 double ToDouble(LConstantOperand* op) const;
83 Operand ToOperand(LOperand* op); 84 Operand ToOperand(LOperand* op);
84 MemOperand ToMemOperand(LOperand* op) const; 85 MemOperand ToMemOperand(LOperand* op) const;
85 // Returns a MemOperand pointing to the high word of a DoubleStackSlot. 86 // Returns a MemOperand pointing to the high word of a DoubleStackSlot.
86 MemOperand ToHighMemOperand(LOperand* op) const; 87 MemOperand ToHighMemOperand(LOperand* op) const;
87 88
88 bool IsInteger32(LConstantOperand* op) const; 89 bool IsInteger32(LConstantOperand* op) const;
89 bool IsSmi(LConstantOperand* op) const; 90 bool IsSmi(LConstantOperand* op) const;
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
476 LCodeGen* codegen_; 477 LCodeGen* codegen_;
477 Label entry_; 478 Label entry_;
478 Label exit_; 479 Label exit_;
479 Label* external_exit_; 480 Label* external_exit_;
480 int instruction_index_; 481 int instruction_index_;
481 }; 482 };
482 483
483 } } // namespace v8::internal 484 } } // namespace v8::internal
484 485
485 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_ 486 #endif // V8_MIPS_LITHIUM_CODEGEN_MIPS_H_
OLDNEW
« no previous file with comments | « src/mips64/ic-mips64.cc ('k') | src/mips64/lithium-codegen-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698