[comp.sys.mips] ********

joel@pandora.pa.dec.com (Joel McCormack) (08/25/89)

I am in fact quite happy with the definition of << and >> on the MIPS, as I USE the (non-portable) fact that they are modulo-32 shifts in the DECStation color frame buffer code.

In a perfect world, the definition of << and >> would remain as defined, and you could define macros like ShiftLeft and ShiftLeftMod32, which would do the tests for 0 <= shift < 32, and shift mod 32, respectively.  Each C compiler would notice if s