From: Chris Metcalf Date: Thu, 1 Aug 2013 19:52:17 +0000 (-0400) Subject: tile: optimize and clean up string functions X-Git-Tag: v3.12-rc1~120^2~80 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c53c70a90fdce3e7a53a0412abf7cc2b2a645988;p=pandora-kernel.git tile: optimize and clean up string functions This change cleans up the string code in a number of ways: - For memcpy(), fix bug in prefetch and increase distance to 3 lines; optimize for unaligned data; do all loads before wh64 to make memcpy safe for forward-overlapping calls; etc. Performance is improved. - Use new copy_byte() function on tilegx to spread a single byte value out into a full word using the shufflebytes instruction. - Clean up header include ordering to be more canonical, and remove spurious #undefs of function names. Signed-off-by: Chris Metcalf --- Reading git-diff-tree failed