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 1093 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1104 | 1104 |
1105 // Moved to ARM32::AssemblerARM32::vcvtsd(). | 1105 // Moved to ARM32::AssemblerARM32::vcvtsd(). |
1106 void Assembler::vcvtsd(SRegister sd, DRegister dm, Condition cond) { | 1106 void Assembler::vcvtsd(SRegister sd, DRegister dm, Condition cond) { |
1107 EmitVFPsd(cond, B23 | B21 | B20 | B18 | B17 | B16 | B8 | B7 | B6, sd, dm); | 1107 EmitVFPsd(cond, B23 | B21 | B20 | B18 | B17 | B16 | B8 | B7 | B6, sd, dm); |
1108 } | 1108 } |
1109 | 1109 |
1110 // Moved to ARM32::AssemblerARM32::vcvtds(). | 1110 // Moved to ARM32::AssemblerARM32::vcvtds(). |
1111 void Assembler::vcvtds(DRegister dd, SRegister sm, Condition cond) { | 1111 void Assembler::vcvtds(DRegister dd, SRegister sm, Condition cond) { |
1112 EmitVFPds(cond, B23 | B21 | B20 | B18 | B17 | B16 | B7 | B6, dd, sm); | 1112 EmitVFPds(cond, B23 | B21 | B20 | B18 | B17 | B16 | B7 | B6, dd, sm); |
1113 } | 1113 } |
1114 #endif | |
1115 | 1114 |
1116 | 1115 // Moved to ARM32::AssemblerARM32::vcvtis() |
1117 void Assembler::vcvtis(SRegister sd, SRegister sm, Condition cond) { | 1116 void Assembler::vcvtis(SRegister sd, SRegister sm, Condition cond) { |
1118 EmitVFPsss(cond, B23 | B21 | B20 | B19 | B18 | B16 | B7 | B6, sd, S0, sm); | 1117 EmitVFPsss(cond, B23 | B21 | B20 | B19 | B18 | B16 | B7 | B6, sd, S0, sm); |
1119 } | 1118 } |
1120 | 1119 #endif |
1121 | 1120 |
1122 void Assembler::vcvtid(SRegister sd, DRegister dm, Condition cond) { | 1121 void Assembler::vcvtid(SRegister sd, DRegister dm, Condition cond) { |
1123 EmitVFPsd(cond, B23 | B21 | B20 | B19 | B18 | B16 | B8 | B7 | B6, sd, dm); | 1122 EmitVFPsd(cond, B23 | B21 | B20 | B19 | B18 | B16 | B8 | B7 | B6, sd, dm); |
1124 } | 1123 } |
1125 | 1124 |
1126 | 1125 |
1127 void Assembler::vcvtsi(SRegister sd, SRegister sm, Condition cond) { | 1126 void Assembler::vcvtsi(SRegister sd, SRegister sm, Condition cond) { |
1128 EmitVFPsss(cond, B23 | B21 | B20 | B19 | B7 | B6, sd, S0, sm); | 1127 EmitVFPsss(cond, B23 | B21 | B20 | B19 | B7 | B6, sd, S0, sm); |
1129 } | 1128 } |
1130 | 1129 |
(...skipping 2559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3690 | 3689 |
3691 | 3690 |
3692 const char* Assembler::FpuRegisterName(FpuRegister reg) { | 3691 const char* Assembler::FpuRegisterName(FpuRegister reg) { |
3693 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); | 3692 ASSERT((0 <= reg) && (reg < kNumberOfFpuRegisters)); |
3694 return fpu_reg_names[reg]; | 3693 return fpu_reg_names[reg]; |
3695 } | 3694 } |
3696 | 3695 |
3697 } // namespace dart | 3696 } // namespace dart |
3698 | 3697 |
3699 #endif // defined TARGET_ARCH_ARM | 3698 #endif // defined TARGET_ARCH_ARM |
OLD | NEW |