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

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

Issue 272183003: ARM64: Small optimisations (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « src/arm64/lithium-codegen-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 "v8globals.h" 10 #include "v8globals.h"
(...skipping 901 matching lines...) Expand 10 before | Expand all | Expand 10 after
912 void JumpIfNotHeapNumber(Register object, 912 void JumpIfNotHeapNumber(Register object,
913 Label* on_not_heap_number, 913 Label* on_not_heap_number,
914 Register heap_number_map = NoReg); 914 Register heap_number_map = NoReg);
915 915
916 // Sets the vs flag if the input is -0.0. 916 // Sets the vs flag if the input is -0.0.
917 void TestForMinusZero(DoubleRegister input); 917 void TestForMinusZero(DoubleRegister input);
918 918
919 // Jump to label if the input double register contains -0.0. 919 // Jump to label if the input double register contains -0.0.
920 void JumpIfMinusZero(DoubleRegister input, Label* on_negative_zero); 920 void JumpIfMinusZero(DoubleRegister input, Label* on_negative_zero);
921 921
922 // Jump to label if the input integer register contains the double precision
923 // floating point representation of -0.0.
924 void JumpIfMinusZero(Register input, Label* on_negative_zero);
925
922 // Generate code to do a lookup in the number string cache. If the number in 926 // Generate code to do a lookup in the number string cache. If the number in
923 // the register object is found in the cache the generated code falls through 927 // the register object is found in the cache the generated code falls through
924 // with the result in the result register. The object and the result register 928 // with the result in the result register. The object and the result register
925 // can be the same. If the number is not found in the cache the code jumps to 929 // can be the same. If the number is not found in the cache the code jumps to
926 // the label not_found with only the content of register object unchanged. 930 // the label not_found with only the content of register object unchanged.
927 void LookupNumberStringCache(Register object, 931 void LookupNumberStringCache(Register object,
928 Register result, 932 Register result,
929 Register scratch1, 933 Register scratch1,
930 Register scratch2, 934 Register scratch2,
931 Register scratch3, 935 Register scratch3,
(...skipping 1363 matching lines...) Expand 10 before | Expand all | Expand 10 after
2295 #error "Unsupported option" 2299 #error "Unsupported option"
2296 #define CODE_COVERAGE_STRINGIFY(x) #x 2300 #define CODE_COVERAGE_STRINGIFY(x) #x
2297 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x) 2301 #define CODE_COVERAGE_TOSTRING(x) CODE_COVERAGE_STRINGIFY(x)
2298 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__) 2302 #define __FILE_LINE__ __FILE__ ":" CODE_COVERAGE_TOSTRING(__LINE__)
2299 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm-> 2303 #define ACCESS_MASM(masm) masm->stop(__FILE_LINE__); masm->
2300 #else 2304 #else
2301 #define ACCESS_MASM(masm) masm-> 2305 #define ACCESS_MASM(masm) masm->
2302 #endif 2306 #endif
2303 2307
2304 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_ 2308 #endif // V8_ARM64_MACRO_ASSEMBLER_ARM64_H_
OLDNEW
« no previous file with comments | « src/arm64/lithium-codegen-arm64.cc ('k') | src/arm64/macro-assembler-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698