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

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

Issue 1438013003: [turbofan] Implemented the RoundUint64ToFloat32 TurboFan operator for x64, arm64, (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reformated the test 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 | « 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 807 matching lines...) Expand 10 before | Expand all | Expand 10 after
818 // FPU macros. These do not handle special cases like NaN or +- inf. 818 // FPU macros. These do not handle special cases like NaN or +- inf.
819 819
820 // Convert unsigned word to double. 820 // Convert unsigned word to double.
821 void Cvt_d_uw(FPURegister fd, FPURegister fs); 821 void Cvt_d_uw(FPURegister fd, FPURegister fs);
822 void Cvt_d_uw(FPURegister fd, Register rs); 822 void Cvt_d_uw(FPURegister fd, Register rs);
823 823
824 // Convert unsigned long to double. 824 // Convert unsigned long to double.
825 void Cvt_d_ul(FPURegister fd, FPURegister fs); 825 void Cvt_d_ul(FPURegister fd, FPURegister fs);
826 void Cvt_d_ul(FPURegister fd, Register rs); 826 void Cvt_d_ul(FPURegister fd, Register rs);
827 827
828 // Convert unsigned long to float.
829 void Cvt_s_ul(FPURegister fd, FPURegister fs);
830 void Cvt_s_ul(FPURegister fd, Register rs);
831
828 // Convert double to unsigned long. 832 // Convert double to unsigned long.
829 void Trunc_l_ud(FPURegister fd, FPURegister fs, FPURegister scratch); 833 void Trunc_l_ud(FPURegister fd, FPURegister fs, FPURegister scratch);
830 834
831 void Trunc_l_d(FPURegister fd, FPURegister fs); 835 void Trunc_l_d(FPURegister fd, FPURegister fs);
832 void Round_l_d(FPURegister fd, FPURegister fs); 836 void Round_l_d(FPURegister fd, FPURegister fs);
833 void Floor_l_d(FPURegister fd, FPURegister fs); 837 void Floor_l_d(FPURegister fd, FPURegister fs);
834 void Ceil_l_d(FPURegister fd, FPURegister fs); 838 void Ceil_l_d(FPURegister fd, FPURegister fs);
835 839
836 // Convert double to unsigned word. 840 // Convert double to unsigned word.
837 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); 841 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch);
(...skipping 1007 matching lines...) Expand 10 before | Expand all | Expand 10 after
1845 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 1849 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
1846 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 1850 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
1847 #else 1851 #else
1848 #define ACCESS_MASM(masm) masm-> 1852 #define ACCESS_MASM(masm) masm->
1849 #endif 1853 #endif
1850 1854
1851 } // namespace internal 1855 } // namespace internal
1852 } // namespace v8 1856 } // namespace v8
1853 1857
1854 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1858 #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