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 1453373002: ​MIPS: Improve Cvt_d_uw on mips32. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Fixes for comments 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
« no previous file with comments | « no previous file | src/mips/macro-assembler-mips.cc » ('j') | src/mips/macro-assembler-mips.cc » ('J')
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/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 764 matching lines...) Expand 10 before | Expand all | Expand 10 after
775 775
776 // MIPS32 R2 instruction macro. 776 // MIPS32 R2 instruction macro.
777 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size); 777 void Ins(Register rt, Register rs, uint16_t pos, uint16_t size);
778 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size); 778 void Ext(Register rt, Register rs, uint16_t pos, uint16_t size);
779 779
780 // --------------------------------------------------------------------------- 780 // ---------------------------------------------------------------------------
781 // FPU macros. These do not handle special cases like NaN or +- inf. 781 // FPU macros. These do not handle special cases like NaN or +- inf.
782 782
783 // Convert unsigned word to double. 783 // Convert unsigned word to double.
784 void Cvt_d_uw(FPURegister fd, FPURegister fs, FPURegister scratch); 784 void Cvt_d_uw(FPURegister fd, FPURegister fs, FPURegister scratch);
785 void Cvt_d_uw(FPURegister fd, Register rs, FPURegister scratch); 785 void Cvt_d_uw(FPURegister fd, Register rs, FPURegister scratch,
786 FPURegister fs = no_freg);
786 787
787 // Convert double to unsigned word. 788 // Convert double to unsigned word.
788 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); 789 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch);
789 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch); 790 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch);
790 791
791 void Trunc_w_d(FPURegister fd, FPURegister fs); 792 void Trunc_w_d(FPURegister fd, FPURegister fs);
792 void Round_w_d(FPURegister fd, FPURegister fs); 793 void Round_w_d(FPURegister fd, FPURegister fs);
793 void Floor_w_d(FPURegister fd, FPURegister fs); 794 void Floor_w_d(FPURegister fd, FPURegister fs);
794 void Ceil_w_d(FPURegister fd, FPURegister fs); 795 void Ceil_w_d(FPURegister fd, FPURegister fs);
795 796
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
1762 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1763 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1763 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1764 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1764 #else 1765 #else
1765 #define ACCESS_MASM(masm) masm-> 1766 #define ACCESS_MASM(masm) masm->
1766 #endif 1767 #endif
1767 1768
1768 } // namespace internal 1769 } // namespace internal
1769 } // namespace v8 1770 } // namespace v8
1770 1771
1771 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1772 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « no previous file | src/mips/macro-assembler-mips.cc » ('j') | src/mips/macro-assembler-mips.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698