Hi, Von: Ben Reser [mailto:b...@reser.org] > On Thu, May 16, 2013 at 2:27 PM, Branko Čibej <br...@wandisco.com> wrote: > > On 16.05.2013 23:12, Mattias Engdegård wrote: > >> [[[ > >> * subversion/include/svn_types.h: > >> Set SVN_UNALIGNED_ACCESS_IS_OK for PowerPC. > >> ]]] > > > > At first I thought, "that can't be right!" but it turns out that it is > > ... somewhat. Only if we're sure that we use that macro for integer > > access only. Which should be the case. > > Added documentation that this is for integer access and audited the existing > uses of this macro, it's all integer accesses.
Hmm, when checking those places, I'm not sure whether modern compilers with their auto-vectorizing optimizers really profit from the hand-optimized code there, or whether that code might rather trouble the optimizer into generating suboptimal code. > For anyone that's interested on the PowerPC details see: > http://www.ibm.com/developerworks/library/pa-dalign/ Best regards Markus Schaber CODESYS® a trademark of 3S-Smart Software Solutions GmbH Inspiring Automation Solutions 3S-Smart Software Solutions GmbH Dipl.-Inf. Markus Schaber | Product Development Core Technology Memminger Str. 151 | 87439 Kempten | Germany Tel. +49-831-54031-979 | Fax +49-831-54031-50 E-Mail: m.scha...@codesys.com | Web: http://www.codesys.com | CODESYS store: http://store.codesys.com CODESYS forum: http://forum.codesys.com Managing Directors: Dipl.Inf. Dieter Hess, Dipl.Inf. Manfred Werner | Trade register: Kempten HRB 6186 | Tax ID No.: DE 167014915