topic Documentation bug for DIV/IDIV in Intel® ISA Extensions
https://community.intel.com/t5/Intel-ISA-Extensions/Documentation-bug-for-DIV-IDIV/m-p/1004808#M4857
<P>I refer to the current Intel 64 and IA-32 Architectures Software Developer’s Manual (e.g. 325462-051US of June 2014).</P>
<P>For IDIV your will find that the upper bounds of quotient range is wrong for 32 and 64 bit; these must be e.g. -2^31..2^32-1 instead of -2^31..2^31-1.<BR />
Also, a description for signs the of the remainders are missing; AMD is more precise: "The sign of the remainder is always the same as the sign of the dividend, and the absolute value of the remainder is less than the absolute value of the divisor."</P>
<P>For the DIV instruction there need not be anything about magnitude since all values are positive; remove "in magnitude".</P>Sat, 19 Jul 2014 17:23:53 GMTsirrida2014-07-19T17:23:53ZDocumentation bug for DIV/IDIV
https://community.intel.com/t5/Intel-ISA-Extensions/Documentation-bug-for-DIV-IDIV/m-p/1004808#M4857
<P>I refer to the current Intel 64 and IA-32 Architectures Software Developer’s Manual (e.g. 325462-051US of June 2014).</P>
<P>For IDIV your will find that the upper bounds of quotient range is wrong for 32 and 64 bit; these must be e.g. -2^31..2^32-1 instead of -2^31..2^31-1.<BR />
Also, a description for signs the of the remainders are missing; AMD is more precise: "The sign of the remainder is always the same as the sign of the dividend, and the absolute value of the remainder is less than the absolute value of the divisor."</P>
<P>For the DIV instruction there need not be anything about magnitude since all values are positive; remove "in magnitude".</P>Sat, 19 Jul 2014 17:23:53 GMThttps://community.intel.com/t5/Intel-ISA-Extensions/Documentation-bug-for-DIV-IDIV/m-p/1004808#M4857sirrida2014-07-19T17:23:53Z