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

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

Issue 1335193002: [builtins] Simplify String constructor code. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Address Jaro's comments. Created 5 years, 3 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/arm64/builtins-arm64.cc ('k') | src/arm64/macro-assembler-arm64.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 2013 the V8 project authors. All rights reserved. 1 // Copyright 2013 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_ARM64_MACRO_ASSEMBLER_ARM64_H_ 5 #ifndef V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 6 #define V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 #include "src/arm64/assembler-arm64.h" 10 #include "src/arm64/assembler-arm64.h"
(...skipping 966 matching lines...) Expand 10 before | Expand all | Expand 10 after
977 // Sets the vs flag if the input is -0.0. 977 // Sets the vs flag if the input is -0.0.
978 void TestForMinusZero(DoubleRegister input); 978 void TestForMinusZero(DoubleRegister input);
979 979
980 // Jump to label if the input double register contains -0.0. 980 // Jump to label if the input double register contains -0.0.
981 void JumpIfMinusZero(DoubleRegister input, Label* on_negative_zero); 981 void JumpIfMinusZero(DoubleRegister input, Label* on_negative_zero);
982 982
983 // Jump to label if the input integer register contains the double precision 983 // Jump to label if the input integer register contains the double precision
984 // floating point representation of -0.0. 984 // floating point representation of -0.0.
985 void JumpIfMinusZero(Register input, Label* on_negative_zero); 985 void JumpIfMinusZero(Register input, Label* on_negative_zero);
986 986
987 // Generate code to do a lookup in the number string cache. If the number in
988 // the register object is found in the cache the generated code falls through
989 // with the result in the result register. The object and the result register
990 // can be the same. If the number is not found in the cache the code jumps to
991 // the label not_found with only the content of register object unchanged.
992 void LookupNumberStringCache(Register object,
993 Register result,
994 Register scratch1,
995 Register scratch2,
996 Register scratch3,
997 Label* not_found);
998
999 // Saturate a signed 32-bit integer in input to an unsigned 8-bit integer in 987 // Saturate a signed 32-bit integer in input to an unsigned 8-bit integer in
1000 // output. 988 // output.
1001 void ClampInt32ToUint8(Register in_out); 989 void ClampInt32ToUint8(Register in_out);
1002 void ClampInt32ToUint8(Register output, Register input); 990 void ClampInt32ToUint8(Register output, Register input);
1003 991
1004 // Saturate a double in input to an unsigned 8-bit integer in output. 992 // Saturate a double in input to an unsigned 8-bit integer in output.
1005 void ClampDoubleToUint8(Register output, 993 void ClampDoubleToUint8(Register output,
1006 DoubleRegister input, 994 DoubleRegister input,
1007 DoubleRegister dbl_scratch); 995 DoubleRegister dbl_scratch);
1008 996
(...skipping 1284 matching lines...) Expand 10 before | Expand all | Expand 10 after
2293 #error "Unsupported option" 2281 #error "Unsupported option"
2294 #define CODE_COVERAGE_STRINGIFY(x) #x 2282 #define CODE_COVERAGE_STRINGIFY(x) #x
2295 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2283 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2296 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2284 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2297 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2285 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2298 #else 2286 #else
2299 #define ACCESS_MASM(masm) masm-> 2287 #define ACCESS_MASM(masm) masm->
2300 #endif 2288 #endif
2301 2289
2302 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2290 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/builtins-arm64.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698