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

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

Issue 299833011: ARM mint cleanups (Closed) Base URL: https://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/assembler_arm.h ('k') | runtime/vm/flow_graph_compiler_arm.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/cpu.h" 9 #include "vm/cpu.h"
10 #include "vm/longjump.h" 10 #include "vm/longjump.h"
(...skipping 2155 matching lines...) Expand 10 before | Expand all | Expand 10 after
2166 void Assembler::Ror(Register rd, Register rm, Register rs, Condition cond) { 2166 void Assembler::Ror(Register rd, Register rm, Register rs, Condition cond) {
2167 mov(rd, ShifterOperand(rm, ROR, rs), cond); 2167 mov(rd, ShifterOperand(rm, ROR, rs), cond);
2168 } 2168 }
2169 2169
2170 2170
2171 void Assembler::Rrx(Register rd, Register rm, Condition cond) { 2171 void Assembler::Rrx(Register rd, Register rm, Condition cond) {
2172 mov(rd, ShifterOperand(rm, ROR, 0), cond); 2172 mov(rd, ShifterOperand(rm, ROR, 0), cond);
2173 } 2173 }
2174 2174
2175 2175
2176 void Assembler::SignFill(Register rd, Register rm) { 2176 void Assembler::SignFill(Register rd, Register rm, Condition cond) {
2177 Asr(rd, rm, 31); 2177 Asr(rd, rm, 31, cond);
2178 } 2178 }
2179 2179
2180 2180
2181 void Assembler::Vreciprocalqs(QRegister qd, QRegister qm) { 2181 void Assembler::Vreciprocalqs(QRegister qd, QRegister qm) {
2182 ASSERT(qm != QTMP); 2182 ASSERT(qm != QTMP);
2183 ASSERT(qd != QTMP); 2183 ASSERT(qd != QTMP);
2184 2184
2185 // Reciprocal estimate. 2185 // Reciprocal estimate.
2186 vrecpeqs(qd, qm); 2186 vrecpeqs(qd, qm);
2187 // 2 Newton-Raphson steps. 2187 // 2 Newton-Raphson steps.
(...skipping 964 matching lines...) Expand 10 before | Expand all | Expand 10 after
3152 3152
3153 3153
3154 const char* Assembler::FpuRegisterName(FpuRegister reg) { 3154 const char* Assembler::FpuRegisterName(FpuRegister reg) {
3155 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); 3155 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters));
3156 return fpu_reg_names[reg]; 3156 return fpu_reg_names[reg];
3157 } 3157 }
3158 3158
3159 } // namespace dart 3159 } // namespace dart
3160 3160
3161 #endif // defined TARGET_ARCH_ARM 3161 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm.h ('k') | runtime/vm/flow_graph_compiler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698