tech-kern archive

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

Re: setsockopt() compat issue



Johnny Billquist wrote:

> Joerg Sonnenberger 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'm not sure what Joerg meant - something like the SIMD type
instructions maybe?

To directly answer your question the old Cyber systems I used at uni
had 18-bit address registers and 60-bit data registers.

Cheers,
Simon.


Home | Main Index | Thread Index | Old Index