| 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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 222 void Assembler::adds(Register rd, Register rn, Operand o, Condition cond) { | 222 void Assembler::adds(Register rd, Register rn, Operand o, Condition cond) { |
| 223 EmitType01(cond, o.type(), ADD, 1, rn, rd, o); | 223 EmitType01(cond, o.type(), ADD, 1, rn, rd, o); |
| 224 } | 224 } |
| 225 #endif | 225 #endif |
| 226 | 226 |
| 227 #if 0 | 227 #if 0 |
| 228 // Moved to ARM32::AssemberARM32::sub() | 228 // Moved to ARM32::AssemberARM32::sub() |
| 229 void Assembler::subs(Register rd, Register rn, Operand o, Condition cond) { | 229 void Assembler::subs(Register rd, Register rn, Operand o, Condition cond) { |
| 230 EmitType01(cond, o.type(), SUB, 1, rn, rd, o); | 230 EmitType01(cond, o.type(), SUB, 1, rn, rd, o); |
| 231 } | 231 } |
| 232 #endif | |
| 233 | 232 |
| 233 // Moved to ARM32::AssemberARM32::adc() |
| 234 void Assembler::adc(Register rd, Register rn, Operand o, Condition cond) { | 234 void Assembler::adc(Register rd, Register rn, Operand o, Condition cond) { |
| 235 EmitType01(cond, o.type(), ADC, 0, rn, rd, o); | 235 EmitType01(cond, o.type(), ADC, 0, rn, rd, o); |
| 236 } | 236 } |
| 237 | 237 |
| 238 | 238 // Moved to ARM32::AssemberARM32::adc() |
| 239 void Assembler::adcs(Register rd, Register rn, Operand o, Condition cond) { | 239 void Assembler::adcs(Register rd, Register rn, Operand o, Condition cond) { |
| 240 EmitType01(cond, o.type(), ADC, 1, rn, rd, o); | 240 EmitType01(cond, o.type(), ADC, 1, rn, rd, o); |
| 241 } | 241 } |
| 242 #endif |
| 242 | 243 |
| 243 | 244 |
| 244 void Assembler::sbc(Register rd, Register rn, Operand o, Condition cond) { | 245 void Assembler::sbc(Register rd, Register rn, Operand o, Condition cond) { |
| 245 EmitType01(cond, o.type(), SBC, 0, rn, rd, o); | 246 EmitType01(cond, o.type(), SBC, 0, rn, rd, o); |
| 246 } | 247 } |
| 247 | 248 |
| 248 | 249 |
| 249 void Assembler::sbcs(Register rd, Register rn, Operand o, Condition cond) { | 250 void Assembler::sbcs(Register rd, Register rn, Operand o, Condition cond) { |
| 250 EmitType01(cond, o.type(), SBC, 1, rn, rd, o); | 251 EmitType01(cond, o.type(), SBC, 1, rn, rd, o); |
| 251 } | 252 } |
| (...skipping 3415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3667 | 3668 |
| 3668 | 3669 |
| 3669 const char* Assembler::FpuRegisterName(FpuRegister reg) { | 3670 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
| 3670 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); | 3671 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); |
| 3671 return fpu_reg_names[reg]; | 3672 return fpu_reg_names[reg]; |
| 3672 } | 3673 } |
| 3673 | 3674 |
| 3674 } // namespace dart | 3675 } // namespace dart |
| 3675 | 3676 |
| 3676 #endif // defined TARGET_ARCH_ARM | 3677 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |