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

Side by Side Diff: runtime/vm/stub_code_arm64.cc

Issue 267283004: Adds unary double operations to ARM64, enables many tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
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 | « runtime/vm/simulator_arm64.cc ('k') | tests/co19/co19-runtime.status » ('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 (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 #include "vm/globals.h" 5 #include "vm/globals.h"
6 #if defined(TARGET_ARCH_ARM64) 6 #if defined(TARGET_ARCH_ARM64)
7 7
8 #include "vm/assembler.h" 8 #include "vm/assembler.h"
9 #include "vm/code_generator.h" 9 #include "vm/code_generator.h"
10 #include "vm/compiler.h" 10 #include "vm/compiler.h"
(...skipping 1593 matching lines...) Expand 10 before | Expand all | Expand 10 after
1604 // R0: function. 1604 // R0: function.
1605 // R2: target code. 1605 // R2: target code.
1606 __ LoadFieldFromOffset(R2, R2, Code::instructions_offset()); 1606 __ LoadFieldFromOffset(R2, R2, Code::instructions_offset());
1607 __ AddImmediate( 1607 __ AddImmediate(
1608 R2, R2, Instructions::HeaderSize() - kHeapObjectTag, kNoPP); 1608 R2, R2, Instructions::HeaderSize() - kHeapObjectTag, kNoPP);
1609 __ br(R2); 1609 __ br(R2);
1610 } 1610 }
1611 1611
1612 1612
1613 void StubCode::GenerateTwoArgsUnoptimizedStaticCallStub(Assembler* assembler) { 1613 void StubCode::GenerateTwoArgsUnoptimizedStaticCallStub(Assembler* assembler) {
1614 __ Stop("GenerateTwoArgsUnoptimizedStaticCallStub"); 1614 GenerateUsageCounterIncrement(assembler, R6);
1615 GenerateNArgsCheckInlineCacheStub(
1616 assembler, 2, kStaticCallMissHandlerTwoArgsRuntimeEntry);
1615 } 1617 }
1616 1618
1617 1619
1618 // Stub for compiling a function and jumping to the compiled code. 1620 // Stub for compiling a function and jumping to the compiled code.
1619 // R5: IC-Data (for methods). 1621 // R5: IC-Data (for methods).
1620 // R4: Arguments descriptor. 1622 // R4: Arguments descriptor.
1621 // R0: Function. 1623 // R0: Function.
1622 void StubCode::GenerateLazyCompileStub(Assembler* assembler) { 1624 void StubCode::GenerateLazyCompileStub(Assembler* assembler) {
1623 // Preserve arg desc. and IC data object. 1625 // Preserve arg desc. and IC data object.
1624 __ EnterStubFrame(); 1626 __ EnterStubFrame();
(...skipping 278 matching lines...) Expand 10 before | Expand all | Expand 10 after
1903 const Register right = R0; 1905 const Register right = R0;
1904 __ LoadFromOffset(left, SP, 1 * kWordSize); 1906 __ LoadFromOffset(left, SP, 1 * kWordSize);
1905 __ LoadFromOffset(right, SP, 0 * kWordSize); 1907 __ LoadFromOffset(right, SP, 0 * kWordSize);
1906 GenerateIdenticalWithNumberCheckStub(assembler, left, right, temp); 1908 GenerateIdenticalWithNumberCheckStub(assembler, left, right, temp);
1907 __ ret(); 1909 __ ret();
1908 } 1910 }
1909 1911
1910 } // namespace dart 1912 } // namespace dart
1911 1913
1912 #endif // defined TARGET_ARCH_ARM64 1914 #endif // defined TARGET_ARCH_ARM64
OLDNEW
« no previous file with comments | « runtime/vm/simulator_arm64.cc ('k') | tests/co19/co19-runtime.status » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698