| 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 836 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 847 (last_regs[i] != xreg(i, Reg31IsStackPointer))) { | 847 (last_regs[i] != xreg(i, Reg31IsStackPointer))) { |
| 848 fprintf(stream_, | 848 fprintf(stream_, |
| 849 "# %s%4s:%s 0x%016" PRIx64 "%s\n", | 849 "# %s%4s:%s 0x%016" PRIx64 "%s\n", |
| 850 clr_reg_name, | 850 clr_reg_name, |
| 851 XRegNameForCode(i, Reg31IsStackPointer), | 851 XRegNameForCode(i, Reg31IsStackPointer), |
| 852 clr_reg_value, | 852 clr_reg_value, |
| 853 xreg(i, Reg31IsStackPointer), | 853 xreg(i, Reg31IsStackPointer), |
| 854 clr_normal); | 854 clr_normal); |
| 855 } | 855 } |
| 856 // Cache the new register value so the next run can detect any changes. | 856 // Cache the new register value so the next run can detect any changes. |
| 857 last_regs[i] = xreg(i); | 857 last_regs[i] = xreg(i, Reg31IsStackPointer); |
| 858 } | 858 } |
| 859 first_run = false; | 859 first_run = false; |
| 860 } | 860 } |
| 861 | 861 |
| 862 | 862 |
| 863 void Simulator::PrintFPRegisters(bool print_all_regs) { | 863 void Simulator::PrintFPRegisters(bool print_all_regs) { |
| 864 static bool first_run = true; | 864 static bool first_run = true; |
| 865 static uint64_t last_regs[kNumberOfFPRegisters]; | 865 static uint64_t last_regs[kNumberOfFPRegisters]; |
| 866 | 866 |
| 867 // Define some colour codes to use for the register dump. | 867 // Define some colour codes to use for the register dump. |
| (...skipping 2450 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3318 default: | 3318 default: |
| 3319 UNIMPLEMENTED(); | 3319 UNIMPLEMENTED(); |
| 3320 } | 3320 } |
| 3321 } | 3321 } |
| 3322 | 3322 |
| 3323 #endif // USE_SIMULATOR | 3323 #endif // USE_SIMULATOR |
| 3324 | 3324 |
| 3325 } } // namespace v8::internal | 3325 } } // namespace v8::internal |
| 3326 | 3326 |
| 3327 #endif // V8_TARGET_ARCH_A64 | 3327 #endif // V8_TARGET_ARCH_A64 |
| OLD | NEW |