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

Side by Side Diff: src/platform-linux.cc

Issue 115256: Fix fp problems in runtime code on ARM EABI by 8-byte aligning... (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 7 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 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 } 81 }
82 82
83 83
84 double OS::nan_value() { 84 double OS::nan_value() {
85 return NAN; 85 return NAN;
86 } 86 }
87 87
88 88
89 int OS::ActivationFrameAlignment() { 89 int OS::ActivationFrameAlignment() {
90 // Floating point code runs faster if the stack is 8-byte aligned. 90 // Floating point code runs faster if the stack is 8-byte aligned.
91 // On EABI ARM targets this is required for fp correctness in the
92 // runtime system.
91 return 8; 93 return 8;
92 } 94 }
93 95
94 96
95 // We keep the lowest and highest addresses mapped as a quick way of 97 // We keep the lowest and highest addresses mapped as a quick way of
96 // determining that pointers are outside the heap (used mostly in assertions 98 // determining that pointers are outside the heap (used mostly in assertions
97 // and verification). The estimate is conservative, ie, not all addresses in 99 // and verification). The estimate is conservative, ie, not all addresses in
98 // 'allocated' space are actually allocated to our heap. The range is 100 // 'allocated' space are actually allocated to our heap. The range is
99 // [lowest, highest), inclusive on the low and and exclusive on the high end. 101 // [lowest, highest), inclusive on the low and and exclusive on the high end.
100 static void* lowest_ever_allocated = reinterpret_cast<void*>(-1); 102 static void* lowest_ever_allocated = reinterpret_cast<void*>(-1);
(...skipping 580 matching lines...) Expand 10 before | Expand all | Expand 10 after
681 } 683 }
682 684
683 // This sampler is no longer the active sampler. 685 // This sampler is no longer the active sampler.
684 active_sampler_ = NULL; 686 active_sampler_ = NULL;
685 active_ = false; 687 active_ = false;
686 } 688 }
687 689
688 #endif // ENABLE_LOGGING_AND_PROFILING 690 #endif // ENABLE_LOGGING_AND_PROFILING
689 691
690 } } // namespace v8::internal 692 } } // namespace v8::internal
OLDNEW
« src/arm/macro-assembler-arm.cc ('K') | « src/arm/macro-assembler-arm.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698