Changes in directory llvm/docs:
LangRef.html updated: 1.158.2.1 -> 1.158.2.2 --- Log message: Round 2 of DIV updates. --- Diffs of the changes: (+19 -17) LangRef.html | 36 +++++++++++++++++++----------------- 1 files changed, 19 insertions(+), 17 deletions(-) Index: llvm/docs/LangRef.html diff -u llvm/docs/LangRef.html:1.158.2.1 llvm/docs/LangRef.html:1.158.2.2 --- llvm/docs/LangRef.html:1.158.2.1 Mon Oct 23 01:58:29 2006 +++ llvm/docs/LangRef.html Wed Oct 25 20:58:05 2006 @@ -1642,13 +1642,14 @@ <p>The '<tt>udiv</tt>' instruction returns the quotient of its two operands.</p> <h5>Arguments:</h5> -<p>The two arguments to the '<tt>div</tt>' instruction must be -<a href="#t_integer">integer</a> values. The arguments are considered to be -unsigned integer quantities. This instruction can also take -<a href="#t_packed">packed</a> versions of the values. Both arguments must -have identical types.</p> -<h5>Semantics:</h5> -<p>The value produced is the unsigned integer quotient of the two operands.</p> +<p>The two arguments to the '<tt>udiv</tt>' instruction must be +<a href="#t_integer">integer</a> values. Both arguments must have identical +types. This instruction can also take <a href="#t_packed">packed</a> versions +of the values in which case the elements must be integers.</p> +<h5>Semantics:</h5> +<p>The value produced is the unsigned integer quotient of the two operands. This +instruction always performs an unsigned division operation, regardless of +whether the arguments are unsigned or not.</p> <h5>Example:</h5> <pre> <result> = udiv uint 4, %var <i>; yields {uint}:result = 4 / %var</i> </pre> @@ -1665,12 +1666,13 @@ operands.</p> <h5>Arguments:</h5> <p>The two arguments to the '<tt>sdiv</tt>' instruction must be -<a href="#t_integer">integer</a> values. The arguments are considered to be -signed integer quantities. This instruction can also take -<a href="#t_packed">packed</a> versions of the values. Both arguments must -have identical types.</p> -<h5>Semantics:</h5> -<p>The value produced is the signed integer quotient of the two operands.</p> +<a href="#t_integer">integer</a> values. Both arguments must have identical +types. This instruction can also take <a href="#t_packed">packed</a> versions +of the values in which case the elements must be integers.</p> +<h5>Semantics:</h5> +<p>The value produced is the signed integer quotient of the two operands. This +instruction always performs a signed division operation, regardless of whether +the arguments are signed or not.</p> <h5>Example:</h5> <pre> <result> = sdiv int 4, %var <i>; yields {int}:result = 4 / %var</i> </pre> @@ -1687,9 +1689,9 @@ operands.</p> <h5>Arguments:</h5> <p>The two arguments to the '<tt>div</tt>' instruction must be -<a href="#t_floating">floating point</a> values. This instruction can also -take <a href="#t_packed">packed</a> versions of the values. -Both arguments must have identical types.</p> +<a href="#t_floating">floating point</a> values. Both arguments must have +identical types. This instruction can also take <a href="#t_packed">packed</a> +versions of the values in which case the elements must be floating point.</p> <h5>Semantics:</h5> <p>The value produced is the floating point quotient of the two operands.</p> <h5>Example:</h5> @@ -3954,7 +3956,7 @@ <a href="mailto:[EMAIL PROTECTED]">Chris Lattner</a><br> <a href="http://llvm.org">The LLVM Compiler Infrastructure</a><br> - Last modified: $Date: 2006/10/23 06:58:29 $ + Last modified: $Date: 2006/10/26 01:58:05 $ </address> </body> </html> _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits