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

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: Fix comment by ulan: remove badly merged code (redundant). Created 8 years 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 (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 675 matching lines...) Expand 10 before | Expand all | Expand 10 after
686 686
687 687
688 // ----------------------------------------------------------------------------- 688 // -----------------------------------------------------------------------------
689 // Implementation of RelocInfo 689 // Implementation of RelocInfo
690 690
691 691
692 #ifdef ENABLE_DISASSEMBLER 692 #ifdef ENABLE_DISASSEMBLER
693 const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) { 693 const char* RelocInfo::RelocModeName(RelocInfo::Mode rmode) {
694 switch (rmode) { 694 switch (rmode) {
695 case RelocInfo::NONE: 695 case RelocInfo::NONE:
696 return "no reloc"; 696 return "no reloc 32";
697 case RelocInfo::NONE64:
698 return "no reloc 64";
697 case RelocInfo::EMBEDDED_OBJECT: 699 case RelocInfo::EMBEDDED_OBJECT:
698 return "embedded object"; 700 return "embedded object";
699 case RelocInfo::CONSTRUCT_CALL: 701 case RelocInfo::CONSTRUCT_CALL:
700 return "code target (js construct call)"; 702 return "code target (js construct call)";
701 case RelocInfo::CODE_TARGET_CONTEXT: 703 case RelocInfo::CODE_TARGET_CONTEXT:
702 return "code target (context)"; 704 return "code target (context)";
703 case RelocInfo::DEBUG_BREAK: 705 case RelocInfo::DEBUG_BREAK:
704 #ifndef ENABLE_DEBUGGER_SUPPORT 706 #ifndef ENABLE_DEBUGGER_SUPPORT
705 UNREACHABLE(); 707 UNREACHABLE();
706 #endif 708 #endif
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
810 case RUNTIME_ENTRY: 812 case RUNTIME_ENTRY:
811 case JS_RETURN: 813 case JS_RETURN:
812 case COMMENT: 814 case COMMENT:
813 case POSITION: 815 case POSITION:
814 case STATEMENT_POSITION: 816 case STATEMENT_POSITION:
815 case EXTERNAL_REFERENCE: 817 case EXTERNAL_REFERENCE:
816 case INTERNAL_REFERENCE: 818 case INTERNAL_REFERENCE:
817 case CONST_POOL: 819 case CONST_POOL:
818 case DEBUG_BREAK_SLOT: 820 case DEBUG_BREAK_SLOT:
819 case NONE: 821 case NONE:
822 case NONE64:
820 break; 823 break;
821 case NUMBER_OF_MODES: 824 case NUMBER_OF_MODES:
822 UNREACHABLE(); 825 UNREACHABLE();
823 break; 826 break;
824 case CODE_AGE_SEQUENCE: 827 case CODE_AGE_SEQUENCE:
825 ASSERT(Code::IsYoungSequence(pc_) || code_age_stub()->IsCode()); 828 ASSERT(Code::IsYoungSequence(pc_) || code_age_stub()->IsCode());
826 break; 829 break;
827 } 830 }
828 } 831 }
829 #endif // VERIFY_HEAP 832 #endif // VERIFY_HEAP
(...skipping 719 matching lines...) Expand 10 before | Expand all | Expand 10 after
1549 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position); 1552 assembler_->RecordRelocInfo(RelocInfo::POSITION, state_.current_position);
1550 state_.written_position = state_.current_position; 1553 state_.written_position = state_.current_position;
1551 written = true; 1554 written = true;
1552 } 1555 }
1553 1556
1554 // Return whether something was written. 1557 // Return whether something was written.
1555 return written; 1558 return written;
1556 } 1559 }
1557 1560
1558 } } // namespace v8::internal 1561 } } // namespace v8::internal
OLDNEW
« src/arm/assembler-arm.cc ('K') | « src/assembler.h ('k') | src/flag-definitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698