Subject: Re: [boost] [Endian] Performance
From: Phil Endecott (spam_from_boost_dev_at_[hidden])
Date: 2011-09-06 19:54:17
Mathias Gaunard wrote:
> On 06/09/2011 18:28, Phil Endecott wrote:
>> shifts and bitwise ops seem to produce better code
> The best code depends on the actual type and architecture.
> The best thing to do, for performance, is to call specialized functions
> for each type, such as built-ins or intrinsics.
Unfortunately not, no; in my tests the gcc built-ins were the
worse-performing on one platform.
> I don't think this is really important though.
You mean the performance of these endian operations in general is not important?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk