[RFC] arm: use built-in byte swap function
From: Woodhouse, David <hidden>
Date: 2013-02-06 09:02:14
Also in:
lkml
From: Woodhouse, David <hidden>
Date: 2013-02-06 09:02:14
Also in:
lkml
On Tue, 2013-02-05 at 21:04 -0600, Kim Phillips wrote:
gcc -Os emits calls to __bswapsi2 on those platforms to save space because they don't have the single rev byte swap instruction.
Is that the right thing for GCC to do in that situation?
If so, perhaps we should be *providing* __bswap[sd]i2 functions for it
to use?
If not, perhaps there should be a PR filed?
Or is our use case justifiably different to the general case of '-Os'?
If so, why?
--
Sent with MeeGo's ActiveSync support.
David Woodhouse Open Source Technology Centre
David.Woodhouse at intel.com Intel Corporation
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4370 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20130206/b6a82cd6/attachment-0001.bin>