| OLD | NEW | 
|---|
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 the V8 project authors. All rights reserved. | 
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be | 
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. | 
| 4 | 4 | 
| 5 // A Disassembler object is used to disassemble a block of code instruction by | 5 // A Disassembler object is used to disassemble a block of code instruction by | 
| 6 // instruction. The default implementation of the NameConverter object can be | 6 // instruction. The default implementation of the NameConverter object can be | 
| 7 // overriden to modify register names or to do symbol lookup on addresses. | 7 // overriden to modify register names or to do symbol lookup on addresses. | 
| 8 // | 8 // | 
| 9 // The example below will disassemble a block of code and print it to stdout. | 9 // The example below will disassemble a block of code and print it to stdout. | 
| 10 // | 10 // | 
| (...skipping 1465 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 1476             } | 1476             } | 
| 1477             default: | 1477             default: | 
| 1478               UNREACHABLE(); | 1478               UNREACHABLE(); | 
| 1479               break; | 1479               break; | 
| 1480           } | 1480           } | 
| 1481           break; | 1481           break; | 
| 1482         } | 1482         } | 
| 1483       } | 1483       } | 
| 1484       break; | 1484       break; | 
| 1485     } | 1485     } | 
|  | 1486     case DINS: { | 
|  | 1487       Format(instr, "dins    'rt, 'rs, 'sa, 'ss2"); | 
|  | 1488       break; | 
|  | 1489     } | 
| 1486     case DBSHFL: { | 1490     case DBSHFL: { | 
| 1487       int sa = instr->SaFieldRaw() >> kSaShift; | 1491       int sa = instr->SaFieldRaw() >> kSaShift; | 
| 1488       switch (sa) { | 1492       switch (sa) { | 
| 1489         case DBITSWAP: { | 1493         case DBITSWAP: { | 
| 1490           switch (instr->SaFieldRaw() >> kSaShift) { | 1494           switch (instr->SaFieldRaw() >> kSaShift) { | 
| 1491             case DBITSWAP_SA: | 1495             case DBITSWAP_SA: | 
| 1492               Format(instr, "dbitswap 'rd, 'rt"); | 1496               Format(instr, "dbitswap 'rd, 'rt"); | 
| 1493               break; | 1497               break; | 
| 1494             default: | 1498             default: | 
| 1495               UNREACHABLE(); | 1499               UNREACHABLE(); | 
| (...skipping 518 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 2014                          *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); | 2018                          *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); | 
| 2015   } | 2019   } | 
| 2016 } | 2020 } | 
| 2017 | 2021 | 
| 2018 | 2022 | 
| 2019 #undef UNSUPPORTED | 2023 #undef UNSUPPORTED | 
| 2020 | 2024 | 
| 2021 }  // namespace disasm | 2025 }  // namespace disasm | 
| 2022 | 2026 | 
| 2023 #endif  // V8_TARGET_ARCH_MIPS64 | 2027 #endif  // V8_TARGET_ARCH_MIPS64 | 
| OLD | NEW | 
|---|