Author: svn-role
Date: Tue Jun 4 04:00:15 2013
New Revision: 1489282
URL: http://svn.apache.org/r1489282
Log:
Merge the r1483575 group from trunk:
* r1483575, r1483580, r1485018
Define SVN_UNALIGNED_ACCESS_IS_OK for PowerPC.
Justification:
Performance for free.
Votes:
+1: mattiase (non-binding, not including r1485018)
+1: breser, stefan2, rhuijben
Modified:
subversion/branches/1.8.x/ (props changed)
subversion/branches/1.8.x/STATUS
subversion/branches/1.8.x/subversion/include/svn_types.h
Propchange: subversion/branches/1.8.x/
------------------------------------------------------------------------------
Merged /subversion/trunk:r1483575,1483580,1485018
Modified: subversion/branches/1.8.x/STATUS
URL:
http://svn.apache.org/viewvc/subversion/branches/1.8.x/STATUS?rev=1489282&r1=1489281&r2=1489282&view=diff
==============================================================================
--- subversion/branches/1.8.x/STATUS (original)
+++ subversion/branches/1.8.x/STATUS Tue Jun 4 04:00:15 2013
@@ -103,14 +103,6 @@ Approved changes:
# blocking issues. If in doubt see this link for details:
#
http://subversion.apache.org/docs/community-guide/releasing.html#release-stabilization
- * r1483575, r1483580, r1485018
- Define SVN_UNALIGNED_ACCESS_IS_OK for PowerPC.
- Justification:
- Performance for free.
- Votes:
- +1: mattiase (non-binding, not including r1485018)
- +1: breser, stefan2, rhuijben
-
* 1488878
Don't leave return value uninitialised.
Justification:
Modified: subversion/branches/1.8.x/subversion/include/svn_types.h
URL:
http://svn.apache.org/viewvc/subversion/branches/1.8.x/subversion/include/svn_types.h?rev=1489282&r1=1489281&r2=1489282&view=diff
==============================================================================
--- subversion/branches/1.8.x/subversion/include/svn_types.h (original)
+++ subversion/branches/1.8.x/subversion/include/svn_types.h Tue Jun 4
04:00:15 2013
@@ -72,10 +72,16 @@ extern "C" {
* Unaligned access on other machines (e.g. IA64) will trigger memory
* access faults or simply misbehave.
*
+ * Note: Some platforms may only support unaligned access for integers
+ * (PowerPC). As a result this macro should only be used to determine
+ * if unaligned access is supported for integers.
+ *
* @since New in 1.7.
*/
#ifndef SVN_UNALIGNED_ACCESS_IS_OK
-# if defined(_M_IX86) || defined(_M_X64) || defined(i386) || defined(__x86_64)
+# if defined(_M_IX86) || defined(i386) \
+ || defined(_M_X64) || defined(__x86_64) \
+ || defined(__powerpc__) || defined(__ppc__)
# define SVN_UNALIGNED_ACCESS_IS_OK 1
# else
# define SVN_UNALIGNED_ACCESS_IS_OK 0