OLD | NEW |
1 // Copyright 2011 the V8 project authors. All rights reserved. | 1 // Copyright 2011 the V8 project authors. All rights reserved. |
2 // Redistribution and use in source and binary forms, with or without | 2 // Redistribution and use in source and binary forms, with or without |
3 // modification, are permitted provided that the following conditions are | 3 // modification, are permitted provided that the following conditions are |
4 // met: | 4 // met: |
5 // | 5 // |
6 // * Redistributions of source code must retain the above copyright | 6 // * Redistributions of source code must retain the above copyright |
7 // notice, this list of conditions and the following disclaimer. | 7 // notice, this list of conditions and the following disclaimer. |
8 // * Redistributions in binary form must reproduce the above | 8 // * Redistributions in binary form must reproduce the above |
9 // copyright notice, this list of conditions and the following | 9 // copyright notice, this list of conditions and the following |
10 // disclaimer in the documentation and/or other materials provided | 10 // disclaimer in the documentation and/or other materials provided |
(...skipping 812 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
823 case CLZ: | 823 case CLZ: |
824 Format(instr, "clz'cond 'rd, 'rm"); | 824 Format(instr, "clz'cond 'rd, 'rm"); |
825 break; | 825 break; |
826 default: | 826 default: |
827 Unknown(instr); // not used by V8 | 827 Unknown(instr); // not used by V8 |
828 break; | 828 break; |
829 } | 829 } |
830 } else { | 830 } else { |
831 Unknown(instr); // not used by V8 | 831 Unknown(instr); // not used by V8 |
832 } | 832 } |
| 833 } else if ((type == 1) && instr->IsNopType1()) { |
| 834 Format(instr, "nop'cond"); |
833 } else { | 835 } else { |
834 switch (instr->OpcodeField()) { | 836 switch (instr->OpcodeField()) { |
835 case AND: { | 837 case AND: { |
836 Format(instr, "and'cond's 'rd, 'rn, 'shift_op"); | 838 Format(instr, "and'cond's 'rd, 'rn, 'shift_op"); |
837 break; | 839 break; |
838 } | 840 } |
839 case EOR: { | 841 case EOR: { |
840 Format(instr, "eor'cond's 'rd, 'rn, 'shift_op"); | 842 Format(instr, "eor'cond's 'rd, 'rn, 'shift_op"); |
841 break; | 843 break; |
842 } | 844 } |
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1526 pc += d.InstructionDecode(buffer, pc); | 1528 pc += d.InstructionDecode(buffer, pc); |
1527 fprintf(f, "%p %08x %s\n", | 1529 fprintf(f, "%p %08x %s\n", |
1528 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); | 1530 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); |
1529 } | 1531 } |
1530 } | 1532 } |
1531 | 1533 |
1532 | 1534 |
1533 } // namespace disasm | 1535 } // namespace disasm |
1534 | 1536 |
1535 #endif // V8_TARGET_ARCH_ARM | 1537 #endif // V8_TARGET_ARCH_ARM |
OLD | NEW |