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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 void Ulw(Register rd, const MemOperand& rs); | 693 void Ulw(Register rd, const MemOperand& rs); |
694 void Usw(Register rd, const MemOperand& rs); | 694 void Usw(Register rd, const MemOperand& rs); |
695 void Uld(Register rd, const MemOperand& rs, Register scratch = at); | 695 void Uld(Register rd, const MemOperand& rs, Register scratch = at); |
696 void Usd(Register rd, const MemOperand& rs, Register scratch = at); | 696 void Usd(Register rd, const MemOperand& rs, Register scratch = at); |
697 | 697 |
698 void LoadWordPair(Register rd, const MemOperand& rs, Register scratch = at); | 698 void LoadWordPair(Register rd, const MemOperand& rs, Register scratch = at); |
699 void StoreWordPair(Register rd, const MemOperand& rs, Register scratch = at); | 699 void StoreWordPair(Register rd, const MemOperand& rs, Register scratch = at); |
700 | 700 |
701 // Load int32 in the rd register. | 701 // Load int32 in the rd register. |
702 void li(Register rd, Operand j, LiFlags mode = OPTIMIZE_SIZE); | 702 void li(Register rd, Operand j, LiFlags mode = OPTIMIZE_SIZE); |
703 inline void LiLower32BitHelper(Register rd, Operand j); | 703 inline bool LiLower32BitHelper(Register rd, Operand j); |
704 inline void li(Register rd, int64_t j, LiFlags mode = OPTIMIZE_SIZE) { | 704 inline void li(Register rd, int64_t j, LiFlags mode = OPTIMIZE_SIZE) { |
705 li(rd, Operand(j), mode); | 705 li(rd, Operand(j), mode); |
706 } | 706 } |
707 void li(Register dst, Handle<Object> value, LiFlags mode = OPTIMIZE_SIZE); | 707 void li(Register dst, Handle<Object> value, LiFlags mode = OPTIMIZE_SIZE); |
708 | 708 |
709 // Push multiple registers on the stack. | 709 // Push multiple registers on the stack. |
710 // Registers are saved in numerical order, with higher numbered registers | 710 // Registers are saved in numerical order, with higher numbered registers |
711 // saved in higher memory addresses. | 711 // saved in higher memory addresses. |
712 void MultiPush(RegList regs); | 712 void MultiPush(RegList regs); |
713 void MultiPushReversed(RegList regs); | 713 void MultiPushReversed(RegList regs); |
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1964 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) | 1964 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) |
1965 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> | 1965 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> |
1966 #else | 1966 #else |
1967 #define ACCESS_MASM(masm) masm-> | 1967 #define ACCESS_MASM(masm) masm-> |
1968 #endif | 1968 #endif |
1969 | 1969 |
1970 } // namespace internal | 1970 } // namespace internal |
1971 } // namespace v8 | 1971 } // namespace v8 |
1972 | 1972 |
1973 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ | 1973 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ |
OLD | NEW |