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

Side by Side Diff: runtime/vm/disassembler_arm.cc

Issue 638983002: Implement bigint mulAdd and sqrAdd intrinsics on ARM. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
« no previous file with comments | « runtime/vm/assembler_arm_test.cc ('k') | runtime/vm/intrinsifier_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 #include "vm/disassembler.h" 5 #include "vm/disassembler.h"
6 6
7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM. 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM.
8 #if defined(TARGET_ARCH_ARM) 8 #if defined(TARGET_ARCH_ARM)
9 9
10 #include "platform/assert.h" 10 #include "platform/assert.h"
(...skipping 696 matching lines...) Expand 10 before | Expand all | Expand 10 after
707 case 0: { 707 case 0: {
708 // Assembler registers rd, rn, rm are encoded as rn, rm, rs. 708 // Assembler registers rd, rn, rm are encoded as rn, rm, rs.
709 Format(instr, "mul'cond's 'rn, 'rm, 'rs"); 709 Format(instr, "mul'cond's 'rn, 'rm, 'rs");
710 break; 710 break;
711 } 711 }
712 case 1: { 712 case 1: {
713 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd. 713 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd.
714 Format(instr, "mla'cond's 'rn, 'rm, 'rs, 'rd"); 714 Format(instr, "mla'cond's 'rn, 'rm, 'rs, 'rd");
715 break; 715 break;
716 } 716 }
717 case 2: {
718 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs.
719 Format(instr, "umaal'cond's 'rd, 'rn, 'rm, 'rs");
720 break;
721 }
717 case 3: { 722 case 3: {
718 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd. 723 // Assembler registers rd, rn, rm, ra are encoded as rn, rm, rs, rd.
719 Format(instr, "mls'cond's 'rn, 'rm, 'rs, 'rd"); 724 Format(instr, "mls'cond's 'rn, 'rm, 'rs, 'rd");
720 break; 725 break;
721 } 726 }
722 case 4: { 727 case 4: {
723 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs. 728 // Registers rd_lo, rd_hi, rn, rm are encoded as rd, rn, rm, rs.
724 Format(instr, "umull'cond's 'rd, 'rn, 'rm, 'rs"); 729 Format(instr, "umull'cond's 'rd, 'rn, 'rm, 'rs");
725 break; 730 break;
726 } 731 }
(...skipping 826 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 human_buffer, 1558 human_buffer,
1554 sizeof(human_buffer), 1559 sizeof(human_buffer),
1555 pc); 1560 pc);
1556 pc += instruction_length; 1561 pc += instruction_length;
1557 } 1562 }
1558 } 1563 }
1559 1564
1560 } // namespace dart 1565 } // namespace dart
1561 1566
1562 #endif // defined TARGET_ARCH_ARM 1567 #endif // defined TARGET_ARCH_ARM
OLDNEW
« no previous file with comments | « runtime/vm/assembler_arm_test.cc ('k') | runtime/vm/intrinsifier_arm.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698