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

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

Issue 1779713009: Implement optional turbofan UnalignedLoad and UnalignedStore operators (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fix failures in cctest/test-run-wasm-64/Run_Wasm_LoadStoreI64_sx due to missing implementation of U… Created 4 years, 9 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
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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 Register scratch = at); 686 Register scratch = at);
687 687
688 void Pref(int32_t hint, const MemOperand& rs); 688 void Pref(int32_t hint, const MemOperand& rs);
689 689
690 690
691 // --------------------------------------------------------------------------- 691 // ---------------------------------------------------------------------------
692 // Pseudo-instructions. 692 // Pseudo-instructions.
693 693
694 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); } 694 void mov(Register rd, Register rt) { or_(rd, rt, zero_reg); }
695 695
696 void Ulh(Register rd, const MemOperand& rs);
697 void Ulhu(Register rd, const MemOperand& rs);
698 void Ush(Register rd, const MemOperand& rs, Register scratch);
699
696 void Ulw(Register rd, const MemOperand& rs); 700 void Ulw(Register rd, const MemOperand& rs);
701 void Ulwu(Register rd, const MemOperand& rs);
697 void Usw(Register rd, const MemOperand& rs); 702 void Usw(Register rd, const MemOperand& rs);
698 void Uld(Register rd, const MemOperand& rs, Register scratch = at); 703
699 void Usd(Register rd, const MemOperand& rs, Register scratch = at); 704 void Uld(Register rd, const MemOperand& rs);
705 void Usd(Register rd, const MemOperand& rs);
706
707 void Ulwc1(FPURegister fd, const MemOperand& rs, Register scratch);
708 void Uswc1(FPURegister fd, const MemOperand& rs, Register scratch);
709
710 void Uldc1(FPURegister fd, const MemOperand& rs, Register scratch);
711 void Usdc1(FPURegister fd, const MemOperand& rs, Register scratch);
700 712
701 void LoadWordPair(Register rd, const MemOperand& rs, Register scratch = at); 713 void LoadWordPair(Register rd, const MemOperand& rs, Register scratch = at);
702 void StoreWordPair(Register rd, const MemOperand& rs, Register scratch = at); 714 void StoreWordPair(Register rd, const MemOperand& rs, Register scratch = at);
703 715
704 // Load int32 in the rd register. 716 // Load int32 in the rd register.
705 void li(Register rd, Operand j, LiFlags mode = OPTIMIZE_SIZE); 717 void li(Register rd, Operand j, LiFlags mode = OPTIMIZE_SIZE);
706 inline bool LiLower32BitHelper(Register rd, Operand j); 718 inline bool LiLower32BitHelper(Register rd, Operand j);
707 inline void li(Register rd, int64_t j, LiFlags mode = OPTIMIZE_SIZE) { 719 inline void li(Register rd, int64_t j, LiFlags mode = OPTIMIZE_SIZE) {
708 li(rd, Operand(j), mode); 720 li(rd, Operand(j), mode);
709 } 721 }
(...skipping 1276 matching lines...) Expand 10 before | Expand all | Expand 10 after
1986 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1998 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1987 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1999 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1988 #else 2000 #else
1989 #define ACCESS_MASM(masm) masm-> 2001 #define ACCESS_MASM(masm) masm->
1990 #endif 2002 #endif
1991 2003
1992 } // namespace internal 2004 } // namespace internal
1993 } // namespace v8 2005 } // namespace v8
1994 2006
1995 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 2007 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698