tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: setsockopt() compat issue
On Sun, Oct 19, 2008 at 02:04:36PM +0200, Johnny Billquist wrote:
>> The very concept of "native word size" is fuzzy, as soon as hardware has
>> registers of different sizes. For most purposes size_t is reasonable,
>> but not always. It can be more efficient to use shorter registers, e.g.
>> on AMD64 you get shorter opcodes.
>
> Interesting. Which archtecture have registers of different sizes? I
> can't really think of any, except a few cases where subparts of a
> register can be referred to individually, but that don't change the
> actual word size of the register.
The multimedia extensions often fall into this category. I would have to
dig deeper to find more specific examples.
Joerg
Home |
Main Index |
Thread Index |
Old Index