| 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 201 | 201 |
| 202 void Assembler::rsb(Register rd, Register rn, Operand o, Condition cond) { | 202 void Assembler::rsb(Register rd, Register rn, Operand o, Condition cond) { |
| 203 EmitType01(cond, o.type(), RSB, 0, rn, rd, o); | 203 EmitType01(cond, o.type(), RSB, 0, rn, rd, o); |
| 204 } | 204 } |
| 205 | 205 |
| 206 void Assembler::rsbs(Register rd, Register rn, Operand o, Condition cond) { | 206 void Assembler::rsbs(Register rd, Register rn, Operand o, Condition cond) { |
| 207 EmitType01(cond, o.type(), RSB, 1, rn, rd, o); | 207 EmitType01(cond, o.type(), RSB, 1, rn, rd, o); |
| 208 } | 208 } |
| 209 | 209 |
| 210 | 210 |
| 211 #if 0 |
| 212 // Moved to IceAssemberARM32::add. |
| 211 void Assembler::add(Register rd, Register rn, Operand o, Condition cond) { | 213 void Assembler::add(Register rd, Register rn, Operand o, Condition cond) { |
| 212 EmitType01(cond, o.type(), ADD, 0, rn, rd, o); | 214 EmitType01(cond, o.type(), ADD, 0, rn, rd, o); |
| 213 } | 215 } |
| 214 | 216 |
| 215 | 217 |
| 216 void Assembler::adds(Register rd, Register rn, Operand o, Condition cond) { | 218 void Assembler::adds(Register rd, Register rn, Operand o, Condition cond) { |
| 217 EmitType01(cond, o.type(), ADD, 1, rn, rd, o); | 219 EmitType01(cond, o.type(), ADD, 1, rn, rd, o); |
| 218 } | 220 } |
| 221 #endif |
| 219 | 222 |
| 220 | 223 |
| 221 void Assembler::subs(Register rd, Register rn, Operand o, Condition cond) { | 224 void Assembler::subs(Register rd, Register rn, Operand o, Condition cond) { |
| 222 EmitType01(cond, o.type(), SUB, 1, rn, rd, o); | 225 EmitType01(cond, o.type(), SUB, 1, rn, rd, o); |
| 223 } | 226 } |
| 224 | 227 |
| 225 | 228 |
| 226 void Assembler::adc(Register rd, Register rn, Operand o, Condition cond) { | 229 void Assembler::adc(Register rd, Register rn, Operand o, Condition cond) { |
| 227 EmitType01(cond, o.type(), ADC, 0, rn, rd, o); | 230 EmitType01(cond, o.type(), ADC, 0, rn, rd, o); |
| 228 } | 231 } |
| (...skipping 3428 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3657 | 3660 |
| 3658 | 3661 |
| 3659 const char* Assembler::FpuRegisterName(FpuRegister reg) { | 3662 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
| 3660 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); | 3663 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); |
| 3661 return fpu_reg_names[reg]; | 3664 return fpu_reg_names[reg]; |
| 3662 } | 3665 } |
| 3663 | 3666 |
| 3664 } // namespace dart | 3667 } // namespace dart |
| 3665 | 3668 |
| 3666 #endif // defined TARGET_ARCH_ARM | 3669 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |