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

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

Issue 1652173002: Implements the vector add instructions in the integrated ARM assembler. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Fix nits. Created 4 years, 10 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 656 matching lines...) Expand 10 before | Expand all | Expand 10 after
667 void vldmd(BlockAddressMode am, Register base, 667 void vldmd(BlockAddressMode am, Register base,
668 DRegister first, intptr_t count, Condition cond = AL); 668 DRegister first, intptr_t count, Condition cond = AL);
669 void vstmd(BlockAddressMode am, Register base, 669 void vstmd(BlockAddressMode am, Register base,
670 DRegister first, intptr_t count, Condition cond = AL); 670 DRegister first, intptr_t count, Condition cond = AL);
671 671
672 #if 0 672 #if 0
673 // Moved to Arm32::AssemblerARM32::vadds() 673 // Moved to Arm32::AssemblerARM32::vadds()
674 void vadds(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL); 674 void vadds(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL);
675 // Moved to Arm32::AssemblerARM32::vaddd() 675 // Moved to Arm32::AssemblerARM32::vaddd()
676 void vaddd(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL); 676 void vaddd(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL);
677 #endif 677 // Moved to ARM32::AssemblerARM32::vaddqi().
678 void vaddqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm); 678 void vaddqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
679 // Moved to ARM32::AssemblerARM32::vaddqf().
679 void vaddqs(QRegister qd, QRegister qn, QRegister qm); 680 void vaddqs(QRegister qd, QRegister qn, QRegister qm);
680 #if 0
681 // Moved to Arm32::AssemblerARM32::vsubs() 681 // Moved to Arm32::AssemblerARM32::vsubs()
682 void vsubs(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL); 682 void vsubs(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL);
683 // Moved to Arm32::AssemblerARM32::vsubd() 683 // Moved to Arm32::AssemblerARM32::vsubd()
684 void vsubd(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL); 684 void vsubd(DRegister dd, DRegister dn, DRegister dm, Condition cond = AL);
685 #endif 685 #endif
686 void vsubqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm); 686 void vsubqi(OperandSize sz, QRegister qd, QRegister qn, QRegister qm);
687 void vsubqs(QRegister qd, QRegister qn, QRegister qm); 687 void vsubqs(QRegister qd, QRegister qn, QRegister qm);
688 #if 0 688 #if 0
689 // Moved to Arm32::AssemblerARM32::vmuls() 689 // Moved to Arm32::AssemblerARM32::vmuls()
690 void vmuls(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL); 690 void vmuls(SRegister sd, SRegister sn, SRegister sm, Condition cond = AL);
(...skipping 640 matching lines...) Expand 10 before | Expand all | Expand 10 after
1331 void EmitVFPsd(Condition cond, 1331 void EmitVFPsd(Condition cond,
1332 int32_t opcode, 1332 int32_t opcode,
1333 SRegister sd, 1333 SRegister sd,
1334 DRegister dm); 1334 DRegister dm);
1335 1335
1336 // Moved to ARM32::AssemblerARM32::emitVFPds 1336 // Moved to ARM32::AssemblerARM32::emitVFPds
1337 void EmitVFPds(Condition cond, 1337 void EmitVFPds(Condition cond,
1338 int32_t opcode, 1338 int32_t opcode,
1339 DRegister dd, 1339 DRegister dd,
1340 SRegister sm); 1340 SRegister sm);
1341 #endif
1342 1341
1342 // Moved to ARM32::AssemblerARM32::emitSIMDqqq()
1343 void EmitSIMDqqq(int32_t opcode, OperandSize sz, 1343 void EmitSIMDqqq(int32_t opcode, OperandSize sz,
1344 QRegister qd, QRegister qn, QRegister qm); 1344 QRegister qd, QRegister qn, QRegister qm);
1345 #endif
1345 1346
1346 void EmitSIMDddd(int32_t opcode, OperandSize sz, 1347 void EmitSIMDddd(int32_t opcode, OperandSize sz,
1347 DRegister dd, DRegister dn, DRegister dm); 1348 DRegister dd, DRegister dn, DRegister dm);
1348 1349
1349 void EmitFarBranch(Condition cond, int32_t offset, bool link); 1350 void EmitFarBranch(Condition cond, int32_t offset, bool link);
1350 #if 0 1351 #if 0
1351 // Moved to ARM32::AssemblerARM32::emitBranch() 1352 // Moved to ARM32::AssemblerARM32::emitBranch()
1352 void EmitBranch(Condition cond, Label* label, bool link); 1353 void EmitBranch(Condition cond, Label* label, bool link);
1353 // Moved to ARM32::AssemblerARM32::encodeBranchoffset(). 1354 // Moved to ARM32::AssemblerARM32::encodeBranchoffset().
1354 int32_t EncodeBranchOffset(int32_t offset, int32_t inst); 1355 int32_t EncodeBranchOffset(int32_t offset, int32_t inst);
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1395 // ARM32::AssemblerARM::veord() 1396 // ARM32::AssemblerARM::veord()
1396 #endif 1397 #endif
1397 1398
1398 DISALLOW_ALLOCATION(); 1399 DISALLOW_ALLOCATION();
1399 DISALLOW_COPY_AND_ASSIGN(Assembler); 1400 DISALLOW_COPY_AND_ASSIGN(Assembler);
1400 }; 1401 };
1401 1402
1402 } // namespace dart 1403 } // namespace dart
1403 1404
1404 #endif // VM_ASSEMBLER_ARM_H_ 1405 #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