Chromium Code Reviews| 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 #ifndef VM_ASSEMBLER_ARM_H_ | 9 #ifndef VM_ASSEMBLER_ARM_H_ |
| 10 #define VM_ASSEMBLER_ARM_H_ | 10 #define VM_ASSEMBLER_ARM_H_ |
| (...skipping 1105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1116 // Moved to ARM32::AssemblerARM32::emitType01() | 1116 // Moved to ARM32::AssemblerARM32::emitType01() |
| 1117 void EmitType01(Condition cond, | 1117 void EmitType01(Condition cond, |
| 1118 int type, | 1118 int type, |
| 1119 Opcode opcode, | 1119 Opcode opcode, |
| 1120 int set_cc, | 1120 int set_cc, |
| 1121 Register rn, | 1121 Register rn, |
| 1122 Register rd, | 1122 Register rd, |
| 1123 Operand o); | 1123 Operand o); |
| 1124 #endif | 1124 #endif |
| 1125 | 1125 |
| 1126 #if 0 | |
|
Jim Stichnoth
2015/10/23 21:32:07
Have you considered joining this and the above int
Karl
2015/10/26 18:32:43
Sounds reasonable, since it make the file easier t
| |
| 1127 // Moved to ARM32::AssemblerARM32::emitType05() | |
| 1126 void EmitType5(Condition cond, int32_t offset, bool link); | 1128 void EmitType5(Condition cond, int32_t offset, bool link); |
| 1129 #endif | |
| 1127 | 1130 |
| 1128 #if 0 | 1131 #if 0 |
| 1129 // Moved to ARM32::AssemberARM32::emitMemOp() | 1132 // Moved to ARM32::AssemberARM32::emitMemOp() |
| 1130 void EmitMemOp(Condition cond, | 1133 void EmitMemOp(Condition cond, |
| 1131 bool load, | 1134 bool load, |
| 1132 bool byte, | 1135 bool byte, |
| 1133 Register rd, | 1136 Register rd, |
| 1134 Address ad); | 1137 Address ad); |
| 1135 #endif | 1138 #endif |
| 1136 | 1139 |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1207 SRegister sm); | 1210 SRegister sm); |
| 1208 | 1211 |
| 1209 void EmitSIMDqqq(int32_t opcode, OperandSize sz, | 1212 void EmitSIMDqqq(int32_t opcode, OperandSize sz, |
| 1210 QRegister qd, QRegister qn, QRegister qm); | 1213 QRegister qd, QRegister qn, QRegister qm); |
| 1211 | 1214 |
| 1212 void EmitSIMDddd(int32_t opcode, OperandSize sz, | 1215 void EmitSIMDddd(int32_t opcode, OperandSize sz, |
| 1213 DRegister dd, DRegister dn, DRegister dm); | 1216 DRegister dd, DRegister dn, DRegister dm); |
| 1214 | 1217 |
| 1215 void EmitFarBranch(Condition cond, int32_t offset, bool link); | 1218 void EmitFarBranch(Condition cond, int32_t offset, bool link); |
| 1216 void EmitBranch(Condition cond, Label* label, bool link); | 1219 void EmitBranch(Condition cond, Label* label, bool link); |
| 1220 #if 0 | |
| 1221 // Moved to ARM32::AssemblerARM32::encodeBranchoffset(). | |
| 1217 int32_t EncodeBranchOffset(int32_t offset, int32_t inst); | 1222 int32_t EncodeBranchOffset(int32_t offset, int32_t inst); |
| 1223 // Moved to ARM32::AssemberARM32::decodeBranchOffset(). | |
| 1218 static int32_t DecodeBranchOffset(int32_t inst); | 1224 static int32_t DecodeBranchOffset(int32_t inst); |
| 1225 #endif | |
| 1219 int32_t EncodeTstOffset(int32_t offset, int32_t inst); | 1226 int32_t EncodeTstOffset(int32_t offset, int32_t inst); |
| 1220 int32_t DecodeTstOffset(int32_t inst); | 1227 int32_t DecodeTstOffset(int32_t inst); |
| 1221 | 1228 |
| 1222 void StoreIntoObjectFilter(Register object, Register value, Label* no_update); | 1229 void StoreIntoObjectFilter(Register object, Register value, Label* no_update); |
| 1223 | 1230 |
| 1224 // Shorter filtering sequence that assumes that value is not a smi. | 1231 // Shorter filtering sequence that assumes that value is not a smi. |
| 1225 void StoreIntoObjectFilterNoSmi(Register object, | 1232 void StoreIntoObjectFilterNoSmi(Register object, |
| 1226 Register value, | 1233 Register value, |
| 1227 Label* no_update); | 1234 Label* no_update); |
| 1228 | 1235 |
| (...skipping 17 matching lines...) Expand all Loading... | |
| 1246 Register new_value, | 1253 Register new_value, |
| 1247 FieldContent old_content); | 1254 FieldContent old_content); |
| 1248 | 1255 |
| 1249 DISALLOW_ALLOCATION(); | 1256 DISALLOW_ALLOCATION(); |
| 1250 DISALLOW_COPY_AND_ASSIGN(Assembler); | 1257 DISALLOW_COPY_AND_ASSIGN(Assembler); |
| 1251 }; | 1258 }; |
| 1252 | 1259 |
| 1253 } // namespace dart | 1260 } // namespace dart |
| 1254 | 1261 |
| 1255 #endif // VM_ASSEMBLER_ARM_H_ | 1262 #endif // VM_ASSEMBLER_ARM_H_ |
| OLD | NEW |