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

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

Issue 1714283002: MIPS64: Fix 'MIPS: use DAHI/DATH for li macro on mips64r6.' (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: code cleanup. Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « no previous file | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/mips64/assembler-mips64.h" 10 #include "src/mips64/assembler-mips64.h"
(...skipping 682 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 void li(Register rd, int64_t j, LiFlags mode = OPTIMIZE_SIZE) { 704 inline void li(Register rd, int64_t j, LiFlags mode = OPTIMIZE_SIZE) {
704 li(rd, Operand(j), mode); 705 li(rd, Operand(j), mode);
705 } 706 }
706 void li(Register dst, Handle<Object> value, LiFlags mode = OPTIMIZE_SIZE); 707 void li(Register dst, Handle<Object> value, LiFlags mode = OPTIMIZE_SIZE);
707 708
708 // Push multiple registers on the stack. 709 // Push multiple registers on the stack.
709 // Registers are saved in numerical order, with higher numbered registers 710 // Registers are saved in numerical order, with higher numbered registers
710 // saved in higher memory addresses. 711 // saved in higher memory addresses.
711 void MultiPush(RegList regs); 712 void MultiPush(RegList regs);
712 void MultiPushReversed(RegList regs); 713 void MultiPushReversed(RegList regs);
(...skipping 1248 matching lines...) Expand 10 before | Expand all | Expand 10 after
1961 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1962 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1962 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1963 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1963 #else 1964 #else
1964 #define ACCESS_MASM(masm) masm-> 1965 #define ACCESS_MASM(masm) masm->
1965 #endif 1966 #endif
1966 1967
1967 } // namespace internal 1968 } // namespace internal
1968 } // namespace v8 1969 } // namespace v8
1969 1970
1970 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1971 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698