Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: src/arm/simulator-arm.cc

Issue 14246032: RecordWriteStubs on ARM need to save FP registers (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Review from Ulan Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « src/arm/macro-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698