| OLD | NEW |
| 1 // Copyright 2013 the V8 project authors. All rights reserved. | 1 // Copyright 2013 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 927 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 938 clr_normal, | 938 clr_normal, |
| 939 clr_memory_address, | 939 clr_memory_address, |
| 940 address, | 940 address, |
| 941 clr_normal); | 941 clr_normal); |
| 942 } | 942 } |
| 943 | 943 |
| 944 | 944 |
| 945 // Visitors--------------------------------------------------------------------- | 945 // Visitors--------------------------------------------------------------------- |
| 946 | 946 |
| 947 void Simulator::VisitUnimplemented(Instruction* instr) { | 947 void Simulator::VisitUnimplemented(Instruction* instr) { |
| 948 printf("Unimplemented instruction at 0x%p: 0x%08" PRIx32 "\n", | 948 printf("Unimplemented instruction at %p: 0x%08" PRIx32 "\n", |
| 949 reinterpret_cast<void*>(instr), instr->InstructionBits()); | 949 reinterpret_cast<void*>(instr), instr->InstructionBits()); |
| 950 UNIMPLEMENTED(); | 950 UNIMPLEMENTED(); |
| 951 } | 951 } |
| 952 | 952 |
| 953 | 953 |
| 954 void Simulator::VisitUnallocated(Instruction* instr) { | 954 void Simulator::VisitUnallocated(Instruction* instr) { |
| 955 printf("Unallocated instruction at 0x%p: 0x%08" PRIx32 "\n", | 955 printf("Unallocated instruction at %p: 0x%08" PRIx32 "\n", |
| 956 reinterpret_cast<void*>(instr), instr->InstructionBits()); | 956 reinterpret_cast<void*>(instr), instr->InstructionBits()); |
| 957 UNIMPLEMENTED(); | 957 UNIMPLEMENTED(); |
| 958 } | 958 } |
| 959 | 959 |
| 960 | 960 |
| 961 void Simulator::VisitPCRelAddressing(Instruction* instr) { | 961 void Simulator::VisitPCRelAddressing(Instruction* instr) { |
| 962 switch (instr->Mask(PCRelAddressingMask)) { | 962 switch (instr->Mask(PCRelAddressingMask)) { |
| 963 case ADR: | 963 case ADR: |
| 964 set_reg(instr->Rd(), instr->ImmPCOffsetTarget()); | 964 set_reg(instr->Rd(), instr->ImmPCOffsetTarget()); |
| 965 break; | 965 break; |
| (...skipping 2450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3416 default: | 3416 default: |
| 3417 UNIMPLEMENTED(); | 3417 UNIMPLEMENTED(); |
| 3418 } | 3418 } |
| 3419 } | 3419 } |
| 3420 | 3420 |
| 3421 #endif // USE_SIMULATOR | 3421 #endif // USE_SIMULATOR |
| 3422 | 3422 |
| 3423 } } // namespace v8::internal | 3423 } } // namespace v8::internal |
| 3424 | 3424 |
| 3425 #endif // V8_TARGET_ARCH_A64 | 3425 #endif // V8_TARGET_ARCH_A64 |
| OLD | NEW |