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

Side by Side Diff: src/serialize.cc

Issue 67163: Avoid a call to the runtime system when doing binary fp ops on ARM... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: '' Created 11 years, 8 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
« no previous file with comments | « src/runtime.cc ('k') | src/simulator-arm.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 665 matching lines...) Expand 10 before | Expand all | Expand 10 after
676 8, 676 8,
677 "Heap::NewSpaceAllocationLimitAddress()"); 677 "Heap::NewSpaceAllocationLimitAddress()");
678 Add(ExternalReference::new_space_allocation_top_address().address(), 678 Add(ExternalReference::new_space_allocation_top_address().address(),
679 UNCLASSIFIED, 679 UNCLASSIFIED,
680 9, 680 9,
681 "Heap::NewSpaceAllocationTopAddress()"); 681 "Heap::NewSpaceAllocationTopAddress()");
682 Add(ExternalReference::debug_step_in_fp_address().address(), 682 Add(ExternalReference::debug_step_in_fp_address().address(),
683 UNCLASSIFIED, 683 UNCLASSIFIED,
684 10, 684 10,
685 "Debug::step_in_fp_addr()"); 685 "Debug::step_in_fp_addr()");
686 Add(ExternalReference::double_fp_operation(Token::ADD).address(),
687 UNCLASSIFIED,
688 11,
689 "add_two_doubles");
690 Add(ExternalReference::double_fp_operation(Token::SUB).address(),
691 UNCLASSIFIED,
692 12,
693 "sub_two_doubles");
694 Add(ExternalReference::double_fp_operation(Token::MUL).address(),
695 UNCLASSIFIED,
696 13,
697 "mul_two_doubles");
686 } 698 }
687 699
688 700
689 ExternalReferenceEncoder::ExternalReferenceEncoder() 701 ExternalReferenceEncoder::ExternalReferenceEncoder()
690 : encodings_(Match) { 702 : encodings_(Match) {
691 ExternalReferenceTable* external_references = 703 ExternalReferenceTable* external_references =
692 ExternalReferenceTable::instance(); 704 ExternalReferenceTable::instance();
693 for (int i = 0; i < external_references->size(); ++i) { 705 for (int i = 0; i < external_references->size(); ++i) {
694 Put(external_references->address(i), i); 706 Put(external_references->address(i), i);
695 } 707 }
(...skipping 891 matching lines...) Expand 10 before | Expand all | Expand 10 after
1587 ASSERT(index < large_objects_.length()); 1599 ASSERT(index < large_objects_.length());
1588 } 1600 }
1589 return large_objects_[index]; // s.page_offset() is ignored. 1601 return large_objects_[index]; // s.page_offset() is ignored.
1590 } 1602 }
1591 UNREACHABLE(); 1603 UNREACHABLE();
1592 return NULL; 1604 return NULL;
1593 } 1605 }
1594 1606
1595 1607
1596 } } // namespace v8::internal 1608 } } // namespace v8::internal
OLDNEW
« no previous file with comments | « src/runtime.cc ('k') | src/simulator-arm.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698