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

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

Issue 2220973002: [turbofan] Remove the FloatXXSubPreserveNan operators. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Reintroduce an optimization for arm. Created 4 years, 4 months 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/mips/macro-assembler-mips.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/mips/assembler-mips.h" 10 #include "src/mips/assembler-mips.h"
(...skipping 857 matching lines...) Expand 10 before | Expand all | Expand 10 after
868 868
869 // Convert double to unsigned word. 869 // Convert double to unsigned word.
870 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch); 870 void Trunc_uw_d(FPURegister fd, FPURegister fs, FPURegister scratch);
871 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch); 871 void Trunc_uw_d(FPURegister fd, Register rs, FPURegister scratch);
872 872
873 void Trunc_w_d(FPURegister fd, FPURegister fs); 873 void Trunc_w_d(FPURegister fd, FPURegister fs);
874 void Round_w_d(FPURegister fd, FPURegister fs); 874 void Round_w_d(FPURegister fd, FPURegister fs);
875 void Floor_w_d(FPURegister fd, FPURegister fs); 875 void Floor_w_d(FPURegister fd, FPURegister fs);
876 void Ceil_w_d(FPURegister fd, FPURegister fs); 876 void Ceil_w_d(FPURegister fd, FPURegister fs);
877 877
878 // Preserve value of a NaN operand
879 void SubNanPreservePayloadAndSign_s(FPURegister fd, FPURegister fs,
880 FPURegister ft);
881 void SubNanPreservePayloadAndSign_d(FPURegister fd, FPURegister fs,
882 FPURegister ft);
883
884 // FP32 mode: Move the general purpose register into 878 // FP32 mode: Move the general purpose register into
885 // the high part of the double-register pair. 879 // the high part of the double-register pair.
886 // FP64 mode: Move the general-purpose register into 880 // FP64 mode: Move the general-purpose register into
887 // the higher 32 bits of the 64-bit coprocessor register, 881 // the higher 32 bits of the 64-bit coprocessor register,
888 // while leaving the low bits unchanged. 882 // while leaving the low bits unchanged.
889 void Mthc1(Register rt, FPURegister fs); 883 void Mthc1(Register rt, FPURegister fs);
890 884
891 // FP32 mode: move the high part of the double-register pair into 885 // FP32 mode: move the high part of the double-register pair into
892 // general purpose register. 886 // general purpose register.
893 // FP64 mode: Move the higher 32 bits of the 64-bit coprocessor register into 887 // FP64 mode: Move the higher 32 bits of the 64-bit coprocessor register into
(...skipping 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
1915 dd(GetLabelFunction(index)); 1909 dd(GetLabelFunction(index));
1916 } 1910 }
1917 } 1911 }
1918 1912
1919 #define ACCESS_MASM(masm) masm-> 1913 #define ACCESS_MASM(masm) masm->
1920 1914
1921 } // namespace internal 1915 } // namespace internal
1922 } // namespace v8 1916 } // namespace v8
1923 1917
1924 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_ 1918 #endif // V8_MIPS_MACRO_ASSEMBLER_MIPS_H_
OLDNEW
« no previous file with comments | « src/compiler/x64/instruction-selector-x64.cc ('k') | src/mips/macro-assembler-mips.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698