| 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/mips/assembler-mips.h" | 10 #include "src/mips/assembler-mips.h" |
| (...skipping 669 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 680 // may be clobbered. | 680 // may be clobbered. |
| 681 void Lsa(Register rd, Register rs, Register rt, uint8_t sa, | 681 void Lsa(Register rd, Register rs, Register rt, uint8_t sa, |
| 682 Register scratch = at); | 682 Register scratch = at); |
| 683 | 683 |
| 684 void Pref(int32_t hint, const MemOperand& rs); | 684 void Pref(int32_t hint, const MemOperand& rs); |
| 685 | 685 |
| 686 | 686 |
| 687 // --------------------------------------------------------------------------- | 687 // --------------------------------------------------------------------------- |
| 688 // Pseudo-instructions. | 688 // Pseudo-instructions. |
| 689 | 689 |
| 690 // Change endianness |
| 691 void ByteSwapSigned(Register reg, int operand_size); |
| 692 void ByteSwapUnsigned(Register reg, int operand_size); |
| 693 |
| 690 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); } | 694 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); } |
| 691 | 695 |
| 692 void Ulh(Register rd, const MemOperand& rs); | 696 void Ulh(Register rd, const MemOperand& rs); |
| 693 void Ulhu(Register rd, const MemOperand& rs); | 697 void Ulhu(Register rd, const MemOperand& rs); |
| 694 void Ush(Register rd, const MemOperand& rs, Register scratch); | 698 void Ush(Register rd, const MemOperand& rs, Register scratch); |
| 695 | 699 |
| 696 void Ulw(Register rd, const MemOperand& rs); | 700 void Ulw(Register rd, const MemOperand& rs); |
| 697 void Usw(Register rd, const MemOperand& rs); | 701 void Usw(Register rd, const MemOperand& rs); |
| 698 | 702 |
| 699 void Ulwc1(FPURegister fd, const MemOperand& rs, Register scratch); | 703 void Ulwc1(FPURegister fd, const MemOperand& rs, Register scratch); |
| (...skipping 1187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1887 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1891 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
| 1888 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1892 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
| 1889 #else | 1893 #else |
| 1890 #define ACCESS_MASM(masm) masm-> | 1894 #define ACCESS_MASM(masm) masm-> |
| 1891 #endif | 1895 #endif |
| 1892 | 1896 |
| 1893 } // namespace internal | 1897 } // namespace internal |
| 1894 } // namespace v8 | 1898 } // namespace v8 |
| 1895 | 1899 |
| 1896 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1900 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
| OLD | NEW |