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

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

Issue 1512023002: [turbofan] Change TruncateFloat32ToUint64 to TryTruncateFloat32ToUint64. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Added better mips64 code. 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 825 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 Register result = no_reg); 841 Register result = no_reg);
842 void Trunc_ul_d(FPURegister fd, Register rs, FPURegister scratch, 842 void Trunc_ul_d(FPURegister fd, Register rs, FPURegister scratch,
843 Register result = no_reg); 843 Register result = no_reg);
844 844
845 // Convert single to unsigned long. 845 // Convert single to unsigned long.
846 void Trunc_ul_s(FPURegister fd, FPURegister fs, FPURegister scratch); 846 void Trunc_ul_s(FPURegister fd, FPURegister fs, FPURegister scratch,
847 void Trunc_ul_s(FPURegister fd, Register rs, FPURegister scratch); 847 Register result = no_reg);
848 void Trunc_ul_s(FPURegister fd, Register rs, FPURegister scratch,
849 Register result = no_reg);
848 850
849 void Trunc_w_d(FPURegister fd, FPURegister fs); 851 void Trunc_w_d(FPURegister fd, FPURegister fs);
850 void Round_w_d(FPURegister fd, FPURegister fs); 852 void Round_w_d(FPURegister fd, FPURegister fs);
851 void Floor_w_d(FPURegister fd, FPURegister fs); 853 void Floor_w_d(FPURegister fd, FPURegister fs);
852 void Ceil_w_d(FPURegister fd, FPURegister fs); 854 void Ceil_w_d(FPURegister fd, FPURegister fs);
853 855
854 void Madd_d(FPURegister fd, 856 void Madd_d(FPURegister fd,
855 FPURegister fr, 857 FPURegister fr,
856 FPURegister fs, 858 FPURegister fs,
857 FPURegister ft, 859 FPURegister ft,
(...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after
1851 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1853 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1852 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1854 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1853 #else 1855 #else
1854 #define ACCESS_MASM(masm) masm-> 1856 #define ACCESS_MASM(masm) masm->
1855 #endif 1857 #endif
1856 1858
1857 } // namespace internal 1859 } // namespace internal
1858 } // namespace v8 1860 } // namespace v8
1859 1861
1860 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1862 #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