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

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

Issue 7236025: MIPS: Minor bug fixes to macro-asm and simulator. (Closed)
Patch Set: Created 9 years, 6 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
« no previous file with comments | « src/mips/macro-assembler-mips.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 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 1466 matching lines...) Expand 10 before | Expand all | Expand 10 after
1477 switch (redirection->type()) { 1477 switch (redirection->type()) {
1478 case ExternalReference::BUILTIN_FP_FP_CALL: 1478 case ExternalReference::BUILTIN_FP_FP_CALL:
1479 case ExternalReference::BUILTIN_COMPARE_CALL: 1479 case ExternalReference::BUILTIN_COMPARE_CALL:
1480 GetFpArgs(&dval0, &dval1); 1480 GetFpArgs(&dval0, &dval1);
1481 PrintF("Call to host function at %p with args %f, %f", 1481 PrintF("Call to host function at %p with args %f, %f",
1482 FUNCTION_ADDR(target), dval0, dval1); 1482 FUNCTION_ADDR(target), dval0, dval1);
1483 break; 1483 break;
1484 case ExternalReference::BUILTIN_FP_CALL: 1484 case ExternalReference::BUILTIN_FP_CALL:
1485 GetFpArgs(&dval0); 1485 GetFpArgs(&dval0);
1486 PrintF("Call to host function at %p with arg %f", 1486 PrintF("Call to host function at %p with arg %f",
1487 FUNCTION_ADDR(target), dval1); 1487 FUNCTION_ADDR(target), dval0);
1488 break; 1488 break;
1489 case ExternalReference::BUILTIN_FP_INT_CALL: 1489 case ExternalReference::BUILTIN_FP_INT_CALL:
1490 GetFpArgs(&dval0, &ival); 1490 GetFpArgs(&dval0, &ival);
1491 PrintF("Call to host function at %p with args %f, %d", 1491 PrintF("Call to host function at %p with args %f, %d",
1492 FUNCTION_ADDR(target), dval0, ival); 1492 FUNCTION_ADDR(target), dval0, ival);
1493 break; 1493 break;
1494 default: 1494 default:
1495 UNREACHABLE(); 1495 UNREACHABLE();
1496 break; 1496 break;
1497 } 1497 }
(...skipping 1323 matching lines...) Expand 10 before | Expand all | Expand 10 after
2821 } 2821 }
2822 2822
2823 2823
2824 #undef UNSUPPORTED 2824 #undef UNSUPPORTED
2825 2825
2826 } } // namespace v8::internal 2826 } } // namespace v8::internal
2827 2827
2828 #endif // USE_SIMULATOR 2828 #endif // USE_SIMULATOR
2829 2829
2830 #endif // V8_TARGET_ARCH_MIPS 2830 #endif // V8_TARGET_ARCH_MIPS
OLDNEW
« no previous file with comments | « src/mips/macro-assembler-mips.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698