shifts and rotates by 1 on ix86
Alan Modra
alan@linuxcare.com.au
Wed May 10 16:10:00 GMT 2000
On Wed, 10 May 2000, Maciej W. Rozycki wrote:
> However, implicit 1-bit shifts and rotates do set flags differently than
> the explicit forms.
Are you sure about this statement? My reading of the Intel arch
instruction set manual indicates that the overflow flag is set
appropriately for 1 bit shifts, and undefined for > 1 bit shifts.
There is no mention of a difference depending on which of the one bit
shift instructions is used.
--
Linuxcare. Support for the Revolution.
More information about the Binutils
mailing list