Module Name:    src
Committed By:   jruoho
Date:           Wed Apr 14 08:26:42 UTC 2010

Modified Files:
        src/share/man/man3: fast_divide32.3

Log Message:
EXAMPLE -> EXAMPLES, GCC -> gcc(1), and minor markup changes.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/share/man/man3/fast_divide32.3

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/share/man/man3/fast_divide32.3
diff -u src/share/man/man3/fast_divide32.3:1.4 src/share/man/man3/fast_divide32.3:1.5
--- src/share/man/man3/fast_divide32.3:1.4	Sat Mar 20 14:45:18 2010
+++ src/share/man/man3/fast_divide32.3	Wed Apr 14 08:26:42 2010
@@ -1,4 +1,4 @@
-.\"	$NetBSD: fast_divide32.3,v 1.4 2010/03/20 14:45:18 jruoho Exp $
+.\"	$NetBSD: fast_divide32.3,v 1.5 2010/04/14 08:26:42 jruoho Exp $
 .\"
 .\" Copyright (c) 2010 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -27,7 +27,7 @@
 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 .\" POSSIBILITY OF SUCH DAMAGE.
 .\"
-.Dd March 19, 2010
+.Dd April 14, 2010
 .Dt FAST_DIVIDE32 3
 .Os
 .Sh NAME
@@ -55,7 +55,9 @@
 .Fa v / Fa div
 and
 .Fa v % Fa div
-using optimised CPU instructions.
+using optimised
+.Tn CPU
+instructions.
 The constants
 .Fa m ,
 .Fa s1 ,
@@ -73,10 +75,14 @@
 a plain division instruction, but requires less time to execute.
 The code for constant
 .Fa div
-arguments should be equivalent to the assembly created by GCC.
-.Sh EXAMPLE
-The following example computes q=a/b and r=a%b:
-.Bd -literal
+arguments should be equivalent to the assembly created by
+.Xr gcc 1 .
+.Sh EXAMPLES
+The following example computes
+.Va q = a / b
+and
+.Va r = a % b :
+.Bd -literal -offset indent
 uint32_t a, b, q, r, m;
 uint8_t s1, s2;
 

Reply via email to