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

Side by Side Diff: src/mips/macro-assembler-mips.h

Issue 1545013002: Add assembler test. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years 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
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_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 612 matching lines...) Expand 10 before | Expand all | Expand 10 after
623 DEFINE_INSTRUCTION2(Neg); 623 DEFINE_INSTRUCTION2(Neg);
624 624
625 DEFINE_INSTRUCTION(Slt); 625 DEFINE_INSTRUCTION(Slt);
626 DEFINE_INSTRUCTION(Sltu); 626 DEFINE_INSTRUCTION(Sltu);
627 627
628 // MIPS32 R2 instruction macro. 628 // MIPS32 R2 instruction macro.
629 DEFINE_INSTRUCTION(Ror); 629 DEFINE_INSTRUCTION(Ror);
630 630
631 #undef DEFINE_INSTRUCTION 631 #undef DEFINE_INSTRUCTION
632 #undef DEFINE_INSTRUCTION2 632 #undef DEFINE_INSTRUCTION2
633 #undef DEFINE_INSTRUCTION3
633 634
635 void Lsa(Register rd, Register rs, Register rt, uint8_t sa,
636 Register scratch = at);
634 void Pref(int32_t hint, const MemOperand& rs); 637 void Pref(int32_t hint, const MemOperand& rs);
635 638
636 639
637 // --------------------------------------------------------------------------- 640 // ---------------------------------------------------------------------------
638 // Pseudo-instructions. 641 // Pseudo-instructions.
639 642
640 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); } 643 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); }
641 644
642 void Ulw(Register rd, const MemOperand& rs); 645 void Ulw(Register rd, const MemOperand& rs);
643 void Usw(Register rd, const MemOperand& rs); 646 void Usw(Register rd, const MemOperand& rs);
(...skipping 1103 matching lines...) Expand 10 before | Expand all | Expand 10 after
1747 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1750 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1748 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1751 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1749 #else 1752 #else
1750 #define ACCESS_MASM(masm) masm-> 1753 #define ACCESS_MASM(masm) masm->
1751 #endif 1754 #endif
1752 1755
1753 } // namespace internal 1756 } // namespace internal
1754 } // namespace v8 1757 } // namespace v8
1755 1758
1756 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1759 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698