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

Side by Side Diff: src/crankshaft/arm64/lithium-arm64.cc

Issue 2083453002: [builtins] Introduce proper Float64Tan operator. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 4 years, 6 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/crankshaft/arm64/lithium-arm64.h ('k') | src/crankshaft/arm64/lithium-codegen-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 #include "src/crankshaft/arm64/lithium-arm64.h" 5 #include "src/crankshaft/arm64/lithium-arm64.h"
6 6
7 #include <sstream> 7 #include <sstream>
8 8
9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h" 9 #include "src/crankshaft/arm64/lithium-codegen-arm64.h"
10 #include "src/crankshaft/hydrogen-osr.h" 10 #include "src/crankshaft/hydrogen-osr.h"
(...skipping 1904 matching lines...) Expand 10 before | Expand all | Expand 10 after
1915 } 1915 }
1916 1916
1917 1917
1918 LInstruction* LChunkBuilder::DoDoubleBits(HDoubleBits* instr) { 1918 LInstruction* LChunkBuilder::DoDoubleBits(HDoubleBits* instr) {
1919 HValue* value = instr->value(); 1919 HValue* value = instr->value();
1920 DCHECK(value->representation().IsDouble()); 1920 DCHECK(value->representation().IsDouble());
1921 return DefineAsRegister(new(zone()) LDoubleBits(UseRegister(value))); 1921 return DefineAsRegister(new(zone()) LDoubleBits(UseRegister(value)));
1922 } 1922 }
1923 1923
1924 1924
1925 LInstruction* LChunkBuilder::DoConstructDouble(HConstructDouble* instr) {
1926 LOperand* lo = UseRegisterAndClobber(instr->lo());
1927 LOperand* hi = UseRegister(instr->hi());
1928 return DefineAsRegister(new(zone()) LConstructDouble(hi, lo));
1929 }
1930
1931
1932 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) { 1925 LInstruction* LChunkBuilder::DoReturn(HReturn* instr) {
1933 LOperand* context = info()->IsStub() 1926 LOperand* context = info()->IsStub()
1934 ? UseFixed(instr->context(), cp) 1927 ? UseFixed(instr->context(), cp)
1935 : NULL; 1928 : NULL;
1936 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count()); 1929 LOperand* parameter_count = UseRegisterOrConstant(instr->parameter_count());
1937 return new(zone()) LReturn(UseFixed(instr->value(), x0), context, 1930 return new(zone()) LReturn(UseFixed(instr->value(), x0), context,
1938 parameter_count); 1931 parameter_count);
1939 } 1932 }
1940 1933
1941 1934
(...skipping 660 matching lines...) Expand 10 before | Expand all | Expand 10 after
2602 2595
2603 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) { 2596 LInstruction* LChunkBuilder::DoWrapReceiver(HWrapReceiver* instr) {
2604 LOperand* receiver = UseRegister(instr->receiver()); 2597 LOperand* receiver = UseRegister(instr->receiver());
2605 LOperand* function = UseRegister(instr->function()); 2598 LOperand* function = UseRegister(instr->function());
2606 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function); 2599 LWrapReceiver* result = new(zone()) LWrapReceiver(receiver, function);
2607 return AssignEnvironment(DefineAsRegister(result)); 2600 return AssignEnvironment(DefineAsRegister(result));
2608 } 2601 }
2609 2602
2610 } // namespace internal 2603 } // namespace internal
2611 } // namespace v8 2604 } // namespace v8
OLDNEW
« no previous file with comments | « src/crankshaft/arm64/lithium-arm64.h ('k') | src/crankshaft/arm64/lithium-codegen-arm64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698