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

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

Issue 1453373002: ​MIPS: Improve Cvt_d_uw on mips32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Further improvements Created 5 years, 1 month 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 760 matching lines...) Expand 10 before | Expand all | Expand 10 after
771 void LoadFromSafepointRegisterSlot(Register dst, Register src); 771 void LoadFromSafepointRegisterSlot(Register dst, Register src);
772 772
773 // MIPS32 R2 instruction macro. 773 // MIPS32 R2 instruction macro.
774 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); 774 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size);
775 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); 775 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size);
776 776
777 // --------------------------------------------------------------------------- 777 // ---------------------------------------------------------------------------
778 // FPU macros. These do not handle special cases like NaN or +- inf. 778 // FPU macros. These do not handle special cases like NaN or +- inf.
779 779
780 // Convert unsigned word to double. 780 // Convert unsigned word to double.
781 void Cvt_d_uw(FPURegister fd, FPURegister fs, FPURegister scratch);
782 void Cvt_d_uw(FPURegister fd, Register rs, FPURegister scratch); 781 void Cvt_d_uw(FPURegister fd, Register rs, FPURegister scratch);
783 782
784 // Convert double to unsigned word. 783 // Convert double to unsigned word.
785 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); 784 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch);
786 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch); 785 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch);
787 786
788 void Trunc_w_d(FPURegister fd, FPURegister fs); 787 void Trunc_w_d(FPURegister fd, FPURegister fs);
789 void Round_w_d(FPURegister fd, FPURegister fs); 788 void Round_w_d(FPURegister fd, FPURegister fs);
790 void Floor_w_d(FPURegister fd, FPURegister fs); 789 void Floor_w_d(FPURegister fd, FPURegister fs);
791 void Ceil_w_d(FPURegister fd, FPURegister fs); 790 void Ceil_w_d(FPURegister fd, FPURegister fs);
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
1756 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1755 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1757 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1756 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1758 #else 1757 #else
1759 #define ACCESS_MASM(masm) masm-> 1758 #define ACCESS_MASM(masm) masm->
1760 #endif 1759 #endif
1761 1760
1762 } // namespace internal 1761 } // namespace internal
1763 } // namespace v8 1762 } // namespace v8
1764 1763
1765 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1764 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698