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

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

Issue 16638012: Switch code generation on ARM from softfp ABI to hardfp ABI. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 7 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/store_buffer.cc ('k') | runtime/vm/stub_code_ia32.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 (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, 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_ARM) 6 #if defined(TARGET_ARCH_ARM)
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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
94 94
95 // Cache Context pointer into CTX while executing Dart code. 95 // Cache Context pointer into CTX while executing Dart code.
96 __ mov(CTX, ShifterOperand(R2)); 96 __ mov(CTX, ShifterOperand(R2));
97 97
98 __ LeaveFrame((1 << FP) | (1 << LR)); 98 __ LeaveFrame((1 << FP) | (1 << LR));
99 __ Ret(); 99 __ Ret();
100 } 100 }
101 101
102 102
103 // Print the stop message. 103 // Print the stop message.
104 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, const char* message) { 104 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) {
105 OS::Print("Stop message: %s\n", message); 105 OS::Print("Stop message: %s\n", message);
106 } 106 }
107 END_LEAF_RUNTIME_ENTRY 107 END_LEAF_RUNTIME_ENTRY
108 108
109 109
110 // Input parameters: 110 // Input parameters:
111 // R0 : stop message (const char*). 111 // R0 : stop message (const char*).
112 // Must preserve all registers. 112 // Must preserve all registers.
113 void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) { 113 void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) {
114 __ EnterCallRuntimeFrame(0); 114 __ EnterCallRuntimeFrame(0);
(...skipping 1865 matching lines...) Expand 10 before | Expand all | Expand 10 after
1980 __ Bind(&reference_compare); 1980 __ Bind(&reference_compare);
1981 __ cmp(left, ShifterOperand(right)); 1981 __ cmp(left, ShifterOperand(right));
1982 __ Bind(&done); 1982 __ Bind(&done);
1983 __ PopList((1 << R0) | (1 << R1) | (1 << R2)); 1983 __ PopList((1 << R0) | (1 << R1) | (1 << R2));
1984 __ Ret(); 1984 __ Ret();
1985 } 1985 }
1986 1986
1987 } // namespace dart 1987 } // namespace dart
1988 1988
1989 #endif // defined TARGET_ARCH_ARM 1989 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/store_buffer.cc ('k') | runtime/vm/stub_code_ia32.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698