Adding unsafeShiftL, unsafeShiftR to Data.Bits(Bits)

Tyson Whitehead twhitehead at
Thu Aug 25 20:41:12 CEST 2011

On August 22, 2011 01:57:32 Brandon Allbery wrote:
> FWIW I vaguely recall a bit of an outcry when this changed on Intel CPUs.
>  It may have been around the 80486.

I just checked my copy of the Intel486 Programmer's Reference Manual and

s[h/a][l/r] -- no masking
sh[l/r]d -- masking

Cheers!  -Tyson

More information about the Libraries mailing list