OLD | NEW |
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_MACRO_ASSEMBLER_MIPS_H_ | 5 #ifndef V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 6 #define V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
7 | 7 |
8 #include "src/assembler.h" | 8 #include "src/assembler.h" |
9 #include "src/globals.h" | 9 #include "src/globals.h" |
10 #include "src/mips64/assembler-mips64.h" | 10 #include "src/mips64/assembler-mips64.h" |
(...skipping 588 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
599 void instr(Register rs, const Operand& rt); \ | 599 void instr(Register rs, const Operand& rt); \ |
600 void instr(Register rs, Register rt) { \ | 600 void instr(Register rs, Register rt) { \ |
601 instr(rs, Operand(rt)); \ | 601 instr(rs, Operand(rt)); \ |
602 } \ | 602 } \ |
603 void instr(Register rs, int32_t j) { \ | 603 void instr(Register rs, int32_t j) { \ |
604 instr(rs, Operand(j)); \ | 604 instr(rs, Operand(j)); \ |
605 } | 605 } |
606 | 606 |
607 DEFINE_INSTRUCTION(Addu); | 607 DEFINE_INSTRUCTION(Addu); |
608 DEFINE_INSTRUCTION(Daddu); | 608 DEFINE_INSTRUCTION(Daddu); |
| 609 DEFINE_INSTRUCTION(Ddiv); |
609 DEFINE_INSTRUCTION(Subu); | 610 DEFINE_INSTRUCTION(Subu); |
610 DEFINE_INSTRUCTION(Dsubu); | 611 DEFINE_INSTRUCTION(Dsubu); |
| 612 DEFINE_INSTRUCTION(Dmod); |
611 DEFINE_INSTRUCTION(Mul); | 613 DEFINE_INSTRUCTION(Mul); |
| 614 DEFINE_INSTRUCTION(Mulh); |
612 DEFINE_INSTRUCTION(Dmul); | 615 DEFINE_INSTRUCTION(Dmul); |
| 616 DEFINE_INSTRUCTION(Dmulh); |
613 DEFINE_INSTRUCTION2(Mult); | 617 DEFINE_INSTRUCTION2(Mult); |
614 DEFINE_INSTRUCTION2(Dmult); | 618 DEFINE_INSTRUCTION2(Dmult); |
615 DEFINE_INSTRUCTION2(Multu); | 619 DEFINE_INSTRUCTION2(Multu); |
616 DEFINE_INSTRUCTION2(Dmultu); | 620 DEFINE_INSTRUCTION2(Dmultu); |
617 DEFINE_INSTRUCTION2(Div); | 621 DEFINE_INSTRUCTION2(Div); |
618 DEFINE_INSTRUCTION2(Ddiv); | 622 DEFINE_INSTRUCTION2(Ddiv); |
619 DEFINE_INSTRUCTION2(Divu); | 623 DEFINE_INSTRUCTION2(Divu); |
620 DEFINE_INSTRUCTION2(Ddivu); | 624 DEFINE_INSTRUCTION2(Ddivu); |
621 | 625 |
622 DEFINE_INSTRUCTION(And); | 626 DEFINE_INSTRUCTION(And); |
(...skipping 1157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1780 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) | 1784 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) |
1781 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1785 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1782 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1786 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1783 #else | 1787 #else |
1784 #define ACCESS_MASM(masm) masm-> | 1788 #define ACCESS_MASM(masm) masm-> |
1785 #endif | 1789 #endif |
1786 | 1790 |
1787 } } // namespace v8::internal | 1791 } } // namespace v8::internal |
1788 | 1792 |
1789 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1793 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |