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

Side by Side Diff: src/serialize.cc

Issue 155047: ARM improvements to constant div, mod and mul.... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 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 2006-2008 the V8 project authors. All rights reserved. 1 // Copyright 2006-2008 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 694 matching lines...) Expand 10 before | Expand all | Expand 10 after
705 11, 705 11,
706 "add_two_doubles"); 706 "add_two_doubles");
707 Add(ExternalReference::double_fp_operation(Token::SUB).address(), 707 Add(ExternalReference::double_fp_operation(Token::SUB).address(),
708 UNCLASSIFIED, 708 UNCLASSIFIED,
709 12, 709 12,
710 "sub_two_doubles"); 710 "sub_two_doubles");
711 Add(ExternalReference::double_fp_operation(Token::MUL).address(), 711 Add(ExternalReference::double_fp_operation(Token::MUL).address(),
712 UNCLASSIFIED, 712 UNCLASSIFIED,
713 13, 713 13,
714 "mul_two_doubles"); 714 "mul_two_doubles");
715 Add(ExternalReference::double_fp_operation(Token::DIV).address(),
716 UNCLASSIFIED,
717 14,
718 "div_two_doubles");
719 Add(ExternalReference::double_fp_operation(Token::MOD).address(),
720 UNCLASSIFIED,
721 15,
722 "mod_two_doubles");
715 Add(ExternalReference::compare_doubles().address(), 723 Add(ExternalReference::compare_doubles().address(),
716 UNCLASSIFIED, 724 UNCLASSIFIED,
717 14, 725 16,
718 "compare_doubles"); 726 "compare_doubles");
719 } 727 }
720 728
721 729
722 ExternalReferenceEncoder::ExternalReferenceEncoder() 730 ExternalReferenceEncoder::ExternalReferenceEncoder()
723 : encodings_(Match) { 731 : encodings_(Match) {
724 ExternalReferenceTable* external_references = 732 ExternalReferenceTable* external_references =
725 ExternalReferenceTable::instance(); 733 ExternalReferenceTable::instance();
726 for (int i = 0; i < external_references->size(); ++i) { 734 for (int i = 0; i < external_references->size(); ++i) {
727 Put(external_references->address(i), i); 735 Put(external_references->address(i), i);
(...skipping 903 matching lines...) Expand 10 before | Expand all | Expand 10 after
1631 ASSERT(index < large_objects_.length()); 1639 ASSERT(index < large_objects_.length());
1632 } 1640 }
1633 return large_objects_[index]; // s.page_offset() is ignored. 1641 return large_objects_[index]; // s.page_offset() is ignored.
1634 } 1642 }
1635 UNREACHABLE(); 1643 UNREACHABLE();
1636 return NULL; 1644 return NULL;
1637 } 1645 }
1638 1646
1639 1647
1640 } } // namespace v8::internal 1648 } } // namespace v8::internal
OLDNEW
« src/arm/codegen-arm.cc ('K') | « src/assembler.cc ('k') | test/mjsunit/div-mod.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698