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

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

Issue 19560003: [v8-dev] ARM: Make double registers low/high safe (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 7 years, 5 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
OLDNEW
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 1327 matching lines...) Expand 10 before | Expand all | Expand 10 after
1338 (instr->VAValue() == 0x0)) { 1338 (instr->VAValue() == 0x0)) {
1339 DecodeVMOVBetweenCoreAndSinglePrecisionRegisters(instr); 1339 DecodeVMOVBetweenCoreAndSinglePrecisionRegisters(instr);
1340 } else if ((instr->VLValue() == 0x0) && 1340 } else if ((instr->VLValue() == 0x0) &&
1341 (instr->VCValue() == 0x1) && 1341 (instr->VCValue() == 0x1) &&
1342 (instr->Bit(23) == 0x0)) { 1342 (instr->Bit(23) == 0x0)) {
1343 if (instr->Bit(21) == 0x0) { 1343 if (instr->Bit(21) == 0x0) {
1344 Format(instr, "vmov'cond.32 'Dd[0], 'rt"); 1344 Format(instr, "vmov'cond.32 'Dd[0], 'rt");
1345 } else { 1345 } else {
1346 Format(instr, "vmov'cond.32 'Dd[1], 'rt"); 1346 Format(instr, "vmov'cond.32 'Dd[1], 'rt");
1347 } 1347 }
1348 } else if ((instr->VLValue() == 0x1) &&
1349 (instr->VCValue() == 0x1) &&
1350 (instr->Bit(23) == 0x0)) {
1351 if (instr->Bit(21) == 0x0) {
1352 Format(instr, "vmov'cond.32 'rt, 'Dd[0]");
1353 } else {
1354 Format(instr, "vmov'cond.32 'rt, 'Dd[1]");
1355 }
1348 } else if ((instr->VCValue() == 0x0) && 1356 } else if ((instr->VCValue() == 0x0) &&
1349 (instr->VAValue() == 0x7) && 1357 (instr->VAValue() == 0x7) &&
1350 (instr->Bits(19, 16) == 0x1)) { 1358 (instr->Bits(19, 16) == 0x1)) {
1351 if (instr->VLValue() == 0) { 1359 if (instr->VLValue() == 0) {
1352 if (instr->Bits(15, 12) == 0xF) { 1360 if (instr->Bits(15, 12) == 0xF) {
1353 Format(instr, "vmsr'cond FPSCR, APSR"); 1361 Format(instr, "vmsr'cond FPSCR, APSR");
1354 } else { 1362 } else {
1355 Format(instr, "vmsr'cond FPSCR, 'rt"); 1363 Format(instr, "vmsr'cond FPSCR, 'rt");
1356 } 1364 }
1357 } else { 1365 } else {
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
1790 v8::internal::PrintF( 1798 v8::internal::PrintF(
1791 f, "%p %08x %s\n", 1799 f, "%p %08x %s\n",
1792 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start()); 1800 prev_pc, *reinterpret_cast<int32_t*>(prev_pc), buffer.start());
1793 } 1801 }
1794 } 1802 }
1795 1803
1796 1804
1797 } // namespace disasm 1805 } // namespace disasm
1798 1806
1799 #endif // V8_TARGET_ARCH_ARM 1807 #endif // V8_TARGET_ARCH_ARM
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698