[Prev][Next][Index][Thread]
Re: qcam on NetBSD
On Fri, 12 Jan 1996, Russell Nelson wrote:
>
> Problem is that the stupid 386 doesn't have a barrel shifter (shifts
> any number of bits in one cycle).
As far as I know it has, you can do e.g. shl ax, cl or
shl ax, [8-bit immediate constant] on a 386. This takes
3 or 7 cycles depending on if the operand is a register
or a memory address, as many of the 386 instructions do,
and it's probably faster on a 486 or a Pentium...
// Jani Mattsson <jpm@iki.fi>
Follow-Ups:
References: