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

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

Issue 1507703002: [turbofan] Change TruncateFloat64ToUint64 to TryTruncateFloatToUint64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added mips64 implementation, fixed nits. 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
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | 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 819 matching lines...) Expand 10 before | Expand all | Expand 10 after
830 void Trunc_l_d(FPURegister fd, FPURegister fs); 830 void Trunc_l_d(FPURegister fd, FPURegister fs);
831 void Round_l_d(FPURegister fd, FPURegister fs); 831 void Round_l_d(FPURegister fd, FPURegister fs);
832 void Floor_l_d(FPURegister fd, FPURegister fs); 832 void Floor_l_d(FPURegister fd, FPURegister fs);
833 void Ceil_l_d(FPURegister fd, FPURegister fs); 833 void Ceil_l_d(FPURegister fd, FPURegister fs);
834 834
835 // Convert double to unsigned word. 835 // Convert double to unsigned word.
836 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); 836 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch);
837 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch); 837 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch);
838 838
839 // Convert double to unsigned long. 839 // Convert double to unsigned long.
840 void Trunc_ul_d(FPURegister fd, FPURegister fs, FPURegister scratch); 840 void Trunc_ul_d(FPURegister fd, FPURegister fs, FPURegister scratch,
841 void Trunc_ul_d(FPURegister fd, Register rs, FPURegister scratch); 841 Register result = no_reg);
842 void Trunc_ul_d(FPURegister fd, Register rs, FPURegister scratch,
843 Register result = no_reg);
842 844
843 // Convert single to unsigned long. 845 // Convert single to unsigned long.
844 void Trunc_ul_s(FPURegister fd, FPURegister fs, FPURegister scratch); 846 void Trunc_ul_s(FPURegister fd, FPURegister fs, FPURegister scratch);
845 void Trunc_ul_s(FPURegister fd, Register rs, FPURegister scratch); 847 void Trunc_ul_s(FPURegister fd, Register rs, FPURegister scratch);
846 848
847 void Trunc_w_d(FPURegister fd, FPURegister fs); 849 void Trunc_w_d(FPURegister fd, FPURegister fs);
848 void Round_w_d(FPURegister fd, FPURegister fs); 850 void Round_w_d(FPURegister fd, FPURegister fs);
849 void Floor_w_d(FPURegister fd, FPURegister fs); 851 void Floor_w_d(FPURegister fd, FPURegister fs);
850 void Ceil_w_d(FPURegister fd, FPURegister fs); 852 void Ceil_w_d(FPURegister fd, FPURegister fs);
851 853
(...skipping 997 matching lines...) Expand 10 before | Expand all | Expand 10 after
1849 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1851 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1850 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1852 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1851 #else 1853 #else
1852 #define ACCESS_MASM(masm) masm-> 1854 #define ACCESS_MASM(masm) masm->
1853 #endif 1855 #endif
1854 1856
1855 } // namespace internal 1857 } // namespace internal
1856 } // namespace v8 1858 } // namespace v8
1857 1859
1858 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1860 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | src/mips64/macro-assembler-mips64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698