From: Nicolas Pitre Date: Tue, 10 Jan 2006 19:48:02 +0000 (+0000) Subject: [ARM] 3252/1: help gcc do the best with ___arch__swab32 X-Git-Tag: v2.6.16-rc1~179^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3e49436867e6c7acc1b5eed21d30c88d156825b;p=pandora-kernel.git [ARM] 3252/1: help gcc do the best with ___arch__swab32 Patch from Nicolas Pitre Depending on your gcc version, the current C-only implementation would produce suboptimal code, ranging from a bad register selection forcing an additional mov instruction to a failure to merge the eor and the ror in a single instruction. With a little help gcc always produces the best code. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King --- Reading git-diff-tree failed