Re: [ccache] [PATCH] Speed up copy4, copy64 on little-endian systems.

2013-01-02 Thread Andrew Stubbs
On 01/01/13 17:19, Joel Rosdahl wrote: By the way, the patch is missing some headers, so git am doesn't understand it. I suggest using git format-patch instead of git diff for generating future patches. I thought I did? Thunderbird likes to wrap inline patches, so I used the attachment

Re: [ccache] [PATCH] Speed up copy4, copy64 on little-endian systems.

2013-01-01 Thread Joel Rosdahl
On 21 November 2012 18:46, Andrew Stubbs a...@codesourcery.com wrote: The copy64 function implements an endian-safe copy routine for an array of 16 32-bit integers, but this is sub-optimal on machines where the byte-order is already correct. Likewise for copy4. This patch replaces the

[ccache] [PATCH] Speed up copy4, copy64 on little-endian systems.

2012-11-21 Thread Andrew Stubbs
The copy64 function implements an endian-safe copy routine for an array of 16 32-bit integers, but this is sub-optimal on machines where the byte-order is already correct. Likewise for copy4. This patch replaces the implementation with a simple memcpy when appropriate, and retains the old