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

Side by Side Diff: src/assembler.cc

Issue 11191029: Use VLDR instead of VMOVs from GPR when a 64-bit double can't be encoded as a VMOV immediate. (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Revert Operand::Zero() change that came with the RelocInfo::NONE32 rename, both to be done later. Created 8 years, 2 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
« src/assembler.h ('K') | « src/assembler.h ('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 (c) 1994-2006 Sun Microsystems Inc. 1 // Copyright (c) 1994-2006 Sun Microsystems Inc.
2 // All Rights Reserved. 2 // All Rights Reserved.
3 // 3 //
4 // Redistribution and use in source and binary forms, with or without 4 // Redistribution and use in source and binary forms, with or without
5 // modification, are permitted provided that the following conditions are 5 // modification, are permitted provided that the following conditions are
6 // met: 6 // met:
7 // 7 //
8 // - Redistributions of source code must retain the above copyright notice, 8 // - Redistributions of source code must retain the above copyright notice,
9 // this list of conditions and the following disclaimer. 9 // this list of conditions and the following disclaimer.
10 // 10 //
(...skipping 595 matching lines...) Expand 10 before | Expand all | Expand 10 after
606 606
607 607
608 // ----------------------------------------------------------------------------- 608 // -----------------------------------------------------------------------------
609 // Implementation of RelocInfo 609 // Implementation of RelocInfo
610 610
611 611
612 #ifdef ENABLE_DISASSEMBLER 612 #ifdef ENABLE_DISASSEMBLER
613 const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) { 613 const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) {
614 switch (rmode) { 614 switch (rmode) {
615 case RelocInfo::NONE: 615 case RelocInfo::NONE:
616 return "no reloc"; 616 return "no reloc 32";
617 case RelocInfo::NONE64:
618 return "no reloc 64";
617 case RelocInfo::EMBEDDED_OBJECT: 619 case RelocInfo::EMBEDDED_OBJECT:
618 return "embedded object"; 620 return "embedded object";
619 case RelocInfo::CONSTRUCT_CALL: 621 case RelocInfo::CONSTRUCT_CALL:
620 return "code target (js construct call)"; 622 return "code target (js construct call)";
621 case RelocInfo::CODE_TARGET_CONTEXT: 623 case RelocInfo::CODE_TARGET_CONTEXT:
622 return "code target (context)"; 624 return "code target (context)";
623 case RelocInfo::DEBUG_BREAK: 625 case RelocInfo::DEBUG_BREAK:
624 #ifndef ENABLE_DEBUGGER_SUPPORT 626 #ifndef ENABLE_DEBUGGER_SUPPORT
625 UNREACHABLE(); 627 UNREACHABLE();
626 #endif 628 #endif
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 case RUNTIME_ENTRY: 730 case RUNTIME_ENTRY:
729 case JS_RETURN: 731 case JS_RETURN:
730 case COMMENT: 732 case COMMENT:
731 case POSITION: 733 case POSITION:
732 case STATEMENT_POSITION: 734 case STATEMENT_POSITION:
733 case EXTERNAL_REFERENCE: 735 case EXTERNAL_REFERENCE:
734 case INTERNAL_REFERENCE: 736 case INTERNAL_REFERENCE:
735 case CONST_POOL: 737 case CONST_POOL:
736 case DEBUG_BREAK_SLOT: 738 case DEBUG_BREAK_SLOT:
737 case NONE: 739 case NONE:
740 case NONE64:
738 break; 741 break;
739 case NUMBER_OF_MODES: 742 case NUMBER_OF_MODES:
740 UNREACHABLE(); 743 UNREACHABLE();
741 break; 744 break;
742 } 745 }
743 } 746 }
744 #endif // VERIFY_HEAP 747 #endif // VERIFY_HEAP
745 748
746 749
747 // ----------------------------------------------------------------------------- 750 // -----------------------------------------------------------------------------
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after
1366 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1369 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1367 state_.written_position = state_.current_position; 1370 state_.written_position = state_.current_position;
1368 written = true; 1371 written = true;
1369 } 1372 }
1370 1373
1371 // Return whether something was written. 1374 // Return whether something was written.
1372 return written; 1375 return written;
1373 } 1376 }
1374 1377
1375 } } // namespace v8::internal 1378 } } // namespace v8::internal
OLDNEW
« src/assembler.h ('K') | « src/assembler.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698