Messages in this thread |  | | From | "Woodhouse, David" <> | Subject | Re: [RFC] arm: use built-in byte swap function | Date | Fri, 1 Feb 2013 07:33:17 +0000 |
| |
On Fri, 2013-02-01 at 01:17 +0000, Russell King - ARM Linux wrote: > > > I've tried both gcc 4.6.3 [1] and 4.6.4 [2]. If you can point me to > > a 4.5.x, I'll try that, too, but as it stands now, if one moves the > > code added to swab.h below outside of its armv6 protection, > > gcc adds calls to __bswapsi2. > > Take a look at the message I sent on the 29th towards the beginning of > this thread for details of gcc 4.5.4 behaviour.
I'd like to see a comment (with PR# if appropriate) explaining clearly *why* it isn't enabled for <ARMv6 even with a bleeding-edge compiler.
Russell's test also seemed to indicate that the 32-bit and 64-bit swap support was present and functional in GCC 4.5.4 (as indeed it should have been since 4.4), so I'm still not quite sure why you require 4.6 for that.
-- Sent with MeeGo's ActiveSync support.
David Woodhouse Open Source Technology Centre David.Woodhouse@intel.com Intel Corporation
[unhandled content-type:application/x-pkcs7-signature] |  |