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

Side by Side Diff: runtime/vm/stub_code_mips.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/stub_code_ia32.cc ('k') | runtime/vm/stub_code_x64.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_MIPS) 6 #if defined(TARGET_ARCH_MIPS)
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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
105 105
106 __ mov(SP, FP); 106 __ mov(SP, FP);
107 __ lw(RA, Address(SP, 1 * kWordSize)); 107 __ lw(RA, Address(SP, 1 * kWordSize));
108 __ lw(FP, Address(SP, 0 * kWordSize)); 108 __ lw(FP, Address(SP, 0 * kWordSize));
109 __ Ret(); 109 __ Ret();
110 __ delay_slot()->addiu(SP, SP, Immediate(2 * kWordSize)); 110 __ delay_slot()->addiu(SP, SP, Immediate(2 * kWordSize));
111 } 111 }
112 112
113 113
114 // Print the stop message. 114 // Print the stop message.
115 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, const char* message) { 115 DEFINE_LEAF_RUNTIME_ENTRY(void, PrintStopMessage, 1, const char* message) {
116 OS::Print("Stop message: %s\n", message); 116 OS::Print("Stop message: %s\n", message);
117 } 117 }
118 END_LEAF_RUNTIME_ENTRY 118 END_LEAF_RUNTIME_ENTRY
119 119
120 120
121 // Input parameters: 121 // Input parameters:
122 // A0 : stop message (const char*). 122 // A0 : stop message (const char*).
123 // Must preserve all registers. 123 // Must preserve all registers.
124 void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) { 124 void StubCode::GeneratePrintStopMessageStub(Assembler* assembler) {
125 __ EnterCallRuntimeFrame(0); 125 __ EnterCallRuntimeFrame(0);
(...skipping 2036 matching lines...) Expand 10 before | Expand all | Expand 10 after
2162 __ mov(TMP1, ZR); 2162 __ mov(TMP1, ZR);
2163 __ lw(T0, Address(SP, 0 * kWordSize)); 2163 __ lw(T0, Address(SP, 0 * kWordSize));
2164 __ lw(T1, Address(SP, 1 * kWordSize)); 2164 __ lw(T1, Address(SP, 1 * kWordSize));
2165 __ Ret(); 2165 __ Ret();
2166 __ delay_slot()->addiu(SP, SP, Immediate(2 * kWordSize)); 2166 __ delay_slot()->addiu(SP, SP, Immediate(2 * kWordSize));
2167 } 2167 }
2168 2168
2169 } // namespace dart 2169 } // namespace dart
2170 2170
2171 #endif // defined TARGET_ARCH_MIPS 2171 #endif // defined TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « runtime/vm/stub_code_ia32.cc ('k') | runtime/vm/stub_code_x64.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698