| OLD | NEW |
| 1 // Copyright 2012 the V8 project authors. All rights reserved. | 1 // Copyright 2012 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 PrintF("%3s: 0x%08x %10d", Registers::Name(i), value, value); | 324 PrintF("%3s: 0x%08x %10d", Registers::Name(i), value, value); |
| 325 if ((argc == 3 && strcmp(arg2, "fp") == 0) && | 325 if ((argc == 3 && strcmp(arg2, "fp") == 0) && |
| 326 i < 8 && | 326 i < 8 && |
| 327 (i % 2) == 0) { | 327 (i % 2) == 0) { |
| 328 dvalue = GetRegisterPairDoubleValue(i); | 328 dvalue = GetRegisterPairDoubleValue(i); |
| 329 PrintF(" (%f)\n", dvalue); | 329 PrintF(" (%f)\n", dvalue); |
| 330 } else { | 330 } else { |
| 331 PrintF("\n"); | 331 PrintF("\n"); |
| 332 } | 332 } |
| 333 } | 333 } |
| 334 for (int i = 0; i < kNumVFPDoubleRegisters; i++) { | 334 for (int i = 0; i < DwVfpRegister::NumRegisters(); i++) { |
| 335 dvalue = GetVFPDoubleRegisterValue(i); | 335 dvalue = GetVFPDoubleRegisterValue(i); |
| 336 uint64_t as_words = BitCast<uint64_t>(dvalue); | 336 uint64_t as_words = BitCast<uint64_t>(dvalue); |
| 337 PrintF("%3s: %f 0x%08x %08x\n", | 337 PrintF("%3s: %f 0x%08x %08x\n", |
| 338 VFPRegisters::Name(i, true), | 338 VFPRegisters::Name(i, true), |
| 339 dvalue, | 339 dvalue, |
| 340 static_cast<uint32_t>(as_words >> 32), | 340 static_cast<uint32_t>(as_words >> 32), |
| 341 static_cast<uint32_t>(as_words & 0xffffffff)); | 341 static_cast<uint32_t>(as_words & 0xffffffff)); |
| 342 } | 342 } |
| 343 } else { | 343 } else { |
| 344 if (GetValue(arg1, &value)) { | 344 if (GetValue(arg1, &value)) { |
| (...skipping 3140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3485 uintptr_t address = *stack_slot; | 3485 uintptr_t address = *stack_slot; |
| 3486 set_register(sp, current_sp + sizeof(uintptr_t)); | 3486 set_register(sp, current_sp + sizeof(uintptr_t)); |
| 3487 return address; | 3487 return address; |
| 3488 } | 3488 } |
| 3489 | 3489 |
| 3490 } } // namespace v8::internal | 3490 } } // namespace v8::internal |
| 3491 | 3491 |
| 3492 #endif // USE_SIMULATOR | 3492 #endif // USE_SIMULATOR |
| 3493 | 3493 |
| 3494 #endif // V8_TARGET_ARCH_ARM | 3494 #endif // V8_TARGET_ARCH_ARM |
| OLD | NEW |