| OLD | NEW |
| 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 990 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1001 Unknown(instr); | 1001 Unknown(instr); |
| 1002 } | 1002 } |
| 1003 } | 1003 } |
| 1004 | 1004 |
| 1005 | 1005 |
| 1006 void ARM64Decoder::DecodeConditionalSelect(Instr* instr) { | 1006 void ARM64Decoder::DecodeConditionalSelect(Instr* instr) { |
| 1007 if ((instr->Bits(29, 2) == 0) && (instr->Bits(10, 2) == 0)) { | 1007 if ((instr->Bits(29, 2) == 0) && (instr->Bits(10, 2) == 0)) { |
| 1008 Format(instr, "mov'sf'cond 'rd, 'rn, 'rm"); | 1008 Format(instr, "mov'sf'cond 'rd, 'rn, 'rm"); |
| 1009 } else if ((instr->Bits(29, 2) == 0) && (instr->Bits(10, 2) == 1)) { | 1009 } else if ((instr->Bits(29, 2) == 0) && (instr->Bits(10, 2) == 1)) { |
| 1010 Format(instr, "csinc'sf'cond 'rd, 'rn, 'rm"); | 1010 Format(instr, "csinc'sf'cond 'rd, 'rn, 'rm"); |
| 1011 } else if ((instr->Bits(29, 2) == 2) && (instr->Bits(10, 2) == 0)) { |
| 1012 Format(instr, "csinv'sf'cond 'rd, 'rn, 'rm"); |
| 1011 } else { | 1013 } else { |
| 1012 Unknown(instr); | 1014 Unknown(instr); |
| 1013 } | 1015 } |
| 1014 } | 1016 } |
| 1015 | 1017 |
| 1016 | 1018 |
| 1017 void ARM64Decoder::DecodeDPRegister(Instr* instr) { | 1019 void ARM64Decoder::DecodeDPRegister(Instr* instr) { |
| 1018 if (instr->IsAddSubShiftExtOp()) { | 1020 if (instr->IsAddSubShiftExtOp()) { |
| 1019 DecodeAddSubShiftExt(instr); | 1021 DecodeAddSubShiftExt(instr); |
| 1020 } else if (instr->IsLogicalShiftOp()) { | 1022 } else if (instr->IsLogicalShiftOp()) { |
| (...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1384 human_buffer, | 1386 human_buffer, |
| 1385 sizeof(human_buffer), | 1387 sizeof(human_buffer), |
| 1386 pc); | 1388 pc); |
| 1387 pc += instruction_length; | 1389 pc += instruction_length; |
| 1388 } | 1390 } |
| 1389 } | 1391 } |
| 1390 | 1392 |
| 1391 } // namespace dart | 1393 } // namespace dart |
| 1392 | 1394 |
| 1393 #endif // defined TARGET_ARCH_ARM | 1395 #endif // defined TARGET_ARCH_ARM |
| OLD | NEW |