Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(411)

Side by Side Diff: src/DartARM32/assembler_arm.h

Issue 1540653003: Add VADD instruction to the ARM integrated assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Clean up ARM register functions. Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/DartARM32/assembler_arm.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 629 matching lines...) Expand 10 before | Expand all | Expand 10 after
640 void vldms(BlockAddressMode am, Register base, 640 void vldms(BlockAddressMode am, Register base,
641 SRegister first, SRegister last, Condition cond = AL); 641 SRegister first, SRegister last, Condition cond = AL);
642 void vstms(BlockAddressMode am, Register base, 642 void vstms(BlockAddressMode am, Register base,
643 SRegister first, SRegister last, Condition cond = AL); 643 SRegister first, SRegister last, Condition cond = AL);
644 644
645 void vldmd(BlockAddressMode am, Register base, 645 void vldmd(BlockAddressMode am, Register base,
646 DRegister first, intptr_t count, Condition cond = AL); 646 DRegister first, intptr_t count, Condition cond = AL);
647 void vstmd(BlockAddressMode am, Register base, 647 void vstmd(BlockAddressMode am, Register base,
648 DRegister first, intptr_t count, Condition cond = AL); 648 DRegister first, intptr_t count, Condition cond = AL);
649 649
650 #if 0
651 // Moved to Arm32::AssemblerARM32::vadds()
650 void vadds(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL); 652 void vadds(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL);
653 // Moved to Arm32::AssemblerARM32::vaddd()
651 void vaddd(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL); 654 void vaddd(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL);
655 #endif
652 void vaddqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm); 656 void vaddqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
653 void vaddqs(QRegister qd, QRegister qn, QRegister qm); 657 void vaddqs(QRegister qd, QRegister qn, QRegister qm);
654 void vsubs(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL); 658 void vsubs(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL);
655 void vsubd(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL); 659 void vsubd(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL);
656 void vsubqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm); 660 void vsubqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
657 void vsubqs(QRegister qd, QRegister qn, QRegister qm); 661 void vsubqs(QRegister qd, QRegister qn, QRegister qm);
658 void vmuls(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL); 662 void vmuls(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL);
659 void vmuld(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL); 663 void vmuld(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL);
660 void vmulqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm); 664 void vmulqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
661 void vmulqs(QRegister qd, QRegister qn, QRegister qm); 665 void vmulqs(QRegister qd, QRegister qn, QRegister qm);
(...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after
1221 1225
1222 #if 0 1226 #if 0
1223 // Moved to ARM32::AssemblerARM32::emitMulOp() 1227 // Moved to ARM32::AssemblerARM32::emitMulOp()
1224 void EmitMulOp(Condition cond, 1228 void EmitMulOp(Condition cond,
1225 int32_t opcode, 1229 int32_t opcode,
1226 Register rd, 1230 Register rd,
1227 Register rn, 1231 Register rn,
1228 Register rm, 1232 Register rm,
1229 Register rs); 1233 Register rs);
1230 1234
1231 // Moved to ARM32::AssemblerAR32::emitDivOp(); 1235 // Moved to ARM32::AssemblerARM32::emitDivOp();
1232 void EmitDivOp(Condition cond, 1236 void EmitDivOp(Condition cond,
1233 int32_t opcode, 1237 int32_t opcode,
1234 Register rd, 1238 Register rd,
1235 Register rn, 1239 Register rn,
1236 Register rm); 1240 Register rm);
1237 #endif 1241 #endif
1238 1242
1239 void EmitMultiVSMemOp(Condition cond, 1243 void EmitMultiVSMemOp(Condition cond,
1240 BlockAddressMode am, 1244 BlockAddressMode am,
1241 bool load, 1245 bool load,
1242 Register base, 1246 Register base,
1243 SRegister start, 1247 SRegister start,
1244 uint32_t count); 1248 uint32_t count);
1245 1249
1246 void EmitMultiVDMemOp(Condition cond, 1250 void EmitMultiVDMemOp(Condition cond,
1247 BlockAddressMode am, 1251 BlockAddressMode am,
1248 bool load, 1252 bool load,
1249 Register base, 1253 Register base,
1250 DRegister start, 1254 DRegister start,
1251 int32_t count); 1255 int32_t count);
1252 1256
1257 #if 0
1258 // Moved to ARM32::AssemblerARM32::emitVFPsss
1253 void EmitVFPsss(Condition cond, 1259 void EmitVFPsss(Condition cond,
1254 int32_t opcode, 1260 int32_t opcode,
1255 SRegister sd, 1261 SRegister sd,
1256 SRegister sn, 1262 SRegister sn,
1257 SRegister sm); 1263 SRegister sm);
1258 1264
1265 // Moved to ARM32::AssemblerARM32::emitVFPddd
1259 void EmitVFPddd(Condition cond, 1266 void EmitVFPddd(Condition cond,
1260 int32_t opcode, 1267 int32_t opcode,
1261 DRegister dd, 1268 DRegister dd,
1262 DRegister dn, 1269 DRegister dn,
1263 DRegister dm); 1270 DRegister dm);
1271 #endif
1264 1272
1265 void EmitVFPsd(Condition cond, 1273 void EmitVFPsd(Condition cond,
1266 int32_t opcode, 1274 int32_t opcode,
1267 SRegister sd, 1275 SRegister sd,
1268 DRegister dm); 1276 DRegister dm);
1269 1277
1270 void EmitVFPds(Condition cond, 1278 void EmitVFPds(Condition cond,
1271 int32_t opcode, 1279 int32_t opcode,
1272 DRegister dd, 1280 DRegister dd,
1273 SRegister sm); 1281 SRegister sm);
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
1326 // ARM32::AssemblerARM:rbit(). 1334 // ARM32::AssemblerARM:rbit().
1327 #endif 1335 #endif
1328 1336
1329 DISALLOW_ALLOCATION(); 1337 DISALLOW_ALLOCATION();
1330 DISALLOW_COPY_AND_ASSIGN(Assembler); 1338 DISALLOW_COPY_AND_ASSIGN(Assembler);
1331 }; 1339 };
1332 1340
1333 } // namespace dart 1341 } // namespace dart
1334 1342
1335 #endif // VM_ASSEMBLER_ARM_H_ 1343 #endif // VM_ASSEMBLER_ARM_H_
OLDNEW
« no previous file with comments | « no previous file | src/DartARM32/assembler_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698