tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Please do not yell at people for trying to help you.

On Fri, Nov 12, 2010 at 08:31:39PM +0000, Eduardo Horvath wrote:
> > If you look at sys/endian.h, that is exactly the kind of abstraction the
> > API makes easy to use. Just provide the proper inline functions for your
> > platform.
> No it doesen't because all those macros assume the value is being 
> transferred from one register to another rather than regiser to memory.  

At least the unaligned access does follow it, e.g. le64dec and le64enc.
We don't provide optimised versions of those (yet).

I'm not sure if providing a version for the "known aligned" path is
worth it.


Home | Main Index | Thread Index | Old Index