Boost logo

Boost :

Subject: Re: [boost] [Endian] Performance
From: Adder (adder.thief_at_[hidden])
Date: 2011-09-12 20:43:51


> Then it's a bug that should be fixed in the compiler.
> (But then it could also be that your benchmark is imperfect)

Perhaps it is not the compilers who are failing Boost, but the other way around.

For GCC for x86, we can equal and surpass the speed-ups obtained with
compiler intrinsics even without those intrinsics:

  http://adder.iworks.ro/Boost/RawMemory/#Update-01

Can we not achieve this for other architectures too, in order to
support programmers ?

>>> I don't think this is really important though.
>>
>> You mean the performance of these endian operations in general is not
>> important?
>
> Not that much no. It's important that it's reasonably fast, but it
> needn't be performance critical.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk