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

Unified Diff: src/mips64/constants-mips64.cc

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/mips64/constants-mips64.h ('k') | src/mips64/cpu-mips64.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/mips64/constants-mips64.cc
diff --git a/src/mips/constants-mips.cc b/src/mips64/constants-mips64.cc
similarity index 91%
copy from src/mips/constants-mips.cc
copy to src/mips64/constants-mips64.cc
index f14992719dbf8a89c84e5dfac0070f7746cc8b3c..04f4bbc52f88960467c207917235b88463b1865a 100644
--- a/src/mips/constants-mips.cc
+++ b/src/mips64/constants-mips64.cc
@@ -4,9 +4,9 @@
#include "src/v8.h"
-#if V8_TARGET_ARCH_MIPS
+#if V8_TARGET_ARCH_MIPS64
-#include "src/mips/constants-mips.h"
+#include "src/mips64/constants-mips64.h"
namespace v8 {
namespace internal {
@@ -22,8 +22,8 @@ const char* Registers::names_[kNumSimuRegisters] = {
"zero_reg",
"at",
"v0", "v1",
- "a0", "a1", "a2", "a3",
- "t0", "t1", "t2", "t3", "t4", "t5", "t6", "t7",
+ "a0", "a1", "a2", "a3", "a4", "a5", "a6", "a7",
+ "t0", "t1", "t2", "t3",
"s0", "s1", "s2", "s3", "s4", "s5", "s6", "s7",
"t8", "t9",
"k0", "k1",
@@ -222,21 +222,38 @@ Instruction::Type Instruction::InstructionType() const {
case JALR:
case BREAK:
case SLL:
+ case DSLL:
+ case DSLL32:
case SRL:
+ case DSRL:
+ case DSRL32:
case SRA:
+ case DSRA:
+ case DSRA32:
case SLLV:
+ case DSLLV:
case SRLV:
+ case DSRLV:
case SRAV:
+ case DSRAV:
case MFHI:
case MFLO:
case MULT:
+ case DMULT:
case MULTU:
+ case DMULTU:
case DIV:
+ case DDIV:
case DIVU:
+ case DDIVU:
case ADD:
+ case DADD:
case ADDU:
+ case DADDU:
case SUB:
+ case DSUB:
case SUBU:
+ case DSUBU:
case AND:
case OR:
case XOR:
@@ -292,7 +309,9 @@ Instruction::Type Instruction::InstructionType() const {
case BLEZ:
case BGTZ:
case ADDI:
+ case DADDI:
case ADDIU:
+ case DADDIU:
case SLTI:
case SLTIU:
case ANDI:
@@ -307,6 +326,8 @@ Instruction::Type Instruction::InstructionType() const {
case LH:
case LWL:
case LW:
+ case LWU:
+ case LD:
case LBU:
case LHU:
case LWR:
@@ -314,6 +335,7 @@ Instruction::Type Instruction::InstructionType() const {
case SH:
case SWL:
case SW:
+ case SD:
case SWR:
case LWC1:
case LDC1:
@@ -333,4 +355,4 @@ Instruction::Type Instruction::InstructionType() const {
} } // namespace v8::internal
-#endif // V8_TARGET_ARCH_MIPS
+#endif // V8_TARGET_ARCH_MIPS64
« no previous file with comments | « src/mips64/constants-mips64.h ('k') | src/mips64/cpu-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698