summaryrefslogtreecommitdiffstats
path: root/arch/sparc
diff options
context:
space:
mode:
authorNicolas Pitre <nico@cam.org>2006-01-10 19:48:02 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2006-01-10 19:48:02 +0000
commita3e49436867e6c7acc1b5eed21d30c88d156825b (patch)
tree1460c6474c721eaabf3f84f5df4a6a72b90f9621 /arch/sparc
parentb016450f9f603210239e1a91e3c28f17c310dcc7 (diff)
downloadblackbird-op-linux-a3e49436867e6c7acc1b5eed21d30c88d156825b.tar.gz
blackbird-op-linux-a3e49436867e6c7acc1b5eed21d30c88d156825b.zip
[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 <nico@cam.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/sparc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud