OLD | NEW |
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 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe | 5 // This is forked from Dart revision df52deea9f25690eb8b66c5995da92b70f7ac1fe |
6 // Please update the (git) revision if we merge changes from Dart. | 6 // Please update the (git) revision if we merge changes from Dart. |
7 // https://code.google.com/p/dart/wiki/GettingTheSource | 7 // https://code.google.com/p/dart/wiki/GettingTheSource |
8 | 8 |
9 #include "vm/globals.h" // NOLINT | 9 #include "vm/globals.h" // NOLINT |
10 #if defined(TARGET_ARCH_ARM) | 10 #if defined(TARGET_ARCH_ARM) |
(...skipping 283 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
294 void Assembler::mov(Register rd, Operand o, Condition cond) { | 294 void Assembler::mov(Register rd, Operand o, Condition cond) { |
295 EmitType01(cond, o.type(), MOV, 0, R0, rd, o); | 295 EmitType01(cond, o.type(), MOV, 0, R0, rd, o); |
296 } | 296 } |
297 #endif | 297 #endif |
298 | 298 |
299 void Assembler::movs(Register rd, Operand o, Condition cond) { | 299 void Assembler::movs(Register rd, Operand o, Condition cond) { |
300 EmitType01(cond, o.type(), MOV, 1, R0, rd, o); | 300 EmitType01(cond, o.type(), MOV, 1, R0, rd, o); |
301 } | 301 } |
302 | 302 |
303 | 303 |
| 304 #if 0 |
| 305 // Moved to ARM32::AssemblerARM32::bic(); |
304 void Assembler::bic(Register rd, Register rn, Operand o, Condition cond) { | 306 void Assembler::bic(Register rd, Register rn, Operand o, Condition cond) { |
305 EmitType01(cond, o.type(), BIC, 0, rn, rd, o); | 307 EmitType01(cond, o.type(), BIC, 0, rn, rd, o); |
306 } | 308 } |
307 | 309 |
308 | 310 // Moved to ARM32::AssemblerARM32::bic(); |
309 void Assembler::bics(Register rd, Register rn, Operand o, Condition cond) { | 311 void Assembler::bics(Register rd, Register rn, Operand o, Condition cond) { |
310 EmitType01(cond, o.type(), BIC, 1, rn, rd, o); | 312 EmitType01(cond, o.type(), BIC, 1, rn, rd, o); |
311 } | 313 } |
312 | 314 #endif |
313 | 315 |
314 void Assembler::mvn(Register rd, Operand o, Condition cond) { | 316 void Assembler::mvn(Register rd, Operand o, Condition cond) { |
315 EmitType01(cond, o.type(), MVN, 0, R0, rd, o); | 317 EmitType01(cond, o.type(), MVN, 0, R0, rd, o); |
316 } | 318 } |
317 | 319 |
318 | 320 |
319 void Assembler::mvns(Register rd, Operand o, Condition cond) { | 321 void Assembler::mvns(Register rd, Operand o, Condition cond) { |
320 EmitType01(cond, o.type(), MVN, 1, R0, rd, o); | 322 EmitType01(cond, o.type(), MVN, 1, R0, rd, o); |
321 } | 323 } |
322 | 324 |
(...skipping 3355 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3678 | 3680 |
3679 | 3681 |
3680 const char* Assembler::FpuRegisterName(FpuRegister reg) { | 3682 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
3681 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); | 3683 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); |
3682 return fpu_reg_names[reg]; | 3684 return fpu_reg_names[reg]; |
3683 } | 3685 } |
3684 | 3686 |
3685 } // namespace dart | 3687 } // namespace dart |
3686 | 3688 |
3687 #endif // defined TARGET_ARCH_ARM | 3689 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |