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

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

Issue 262793006: Uses double load/store on arm64, enables tests. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 7 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
OLDNEW
1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2014, 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_ARM64. 7 #include "vm/globals.h" // Needed here to get TARGET_ARCH_ARM64.
8 #if defined(TARGET_ARCH_ARM64) 8 #if defined(TARGET_ARCH_ARM64)
9 #include "platform/assert.h" 9 #include "platform/assert.h"
10 10
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 if (((instr->RdField() == R31) || (instr->RnField() == R31)) && 606 if (((instr->RdField() == R31) || (instr->RnField() == R31)) &&
607 (instr->Imm12Field() == 0) && (instr->Bit(29) == 0)) { 607 (instr->Imm12Field() == 0) && (instr->Bit(29) == 0)) {
608 Format(instr, "mov'sf 'rd, 'rn"); 608 Format(instr, "mov'sf 'rd, 'rn");
609 } else { 609 } else {
610 Format(instr, "addi'sf's 'rd, 'rn, 'imm12s"); 610 Format(instr, "addi'sf's 'rd, 'rn, 'imm12s");
611 } 611 }
612 } 612 }
613 break; 613 break;
614 } 614 }
615 case 1: { 615 case 1: {
616 if ((instr->RdField() == R31) && (instr->SFField())) { 616 if ((instr->RdField() == R31) && (instr->SField() == 1)) {
617 Format(instr, "cmpi'sf 'rn, 'imm12s"); 617 Format(instr, "cmpi'sf 'rn, 'imm12s");
618 } else { 618 } else {
619 Format(instr, "subi'sf's 'rd, 'rn, 'imm12s"); 619 Format(instr, "subi'sf's 'rd, 'rn, 'imm12s");
620 } 620 }
621 break; 621 break;
622 } 622 }
623 default: 623 default:
624 Unknown(instr); 624 Unknown(instr);
625 break; 625 break;
626 } 626 }
(...skipping 425 matching lines...) Expand 10 before | Expand all | Expand 10 after
1052 human_buffer, 1052 human_buffer,
1053 sizeof(human_buffer), 1053 sizeof(human_buffer),
1054 pc); 1054 pc);
1055 pc += instruction_length; 1055 pc += instruction_length;
1056 } 1056 }
1057 } 1057 }
1058 1058
1059 } // namespace dart 1059 } // namespace dart
1060 1060
1061 #endif // defined TARGET_ARCH_ARM 1061 #endif // defined TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698