Something IBM did right (RT div

stt at inmet stt at inmet
Fri Nov 11 08:03:00 AEST 1988


The flip-side of this div = shift is to take
the route that Intel did with the 80960, and provide
an additional right shift instruction which does the same thing as
"normal" divide on negative numbers.  It is a lot
faster than divide, and always truncates toward 0.
Essentially it is a divide-by-power-of-2 instruction.

S. Tucker Taft
Intermetrics, Inc.
Cambridge, MA  02138



More information about the Comp.lang.c mailing list