From 2291dff95463587507e1f4c9e59ad68b01886431 Mon Sep 17 00:00:00 2001 From: ceriel Date: Wed, 20 Nov 1991 16:45:25 +0000 Subject: [PATCH] updated manual page --- util/opt/em_opt.6 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/util/opt/em_opt.6 b/util/opt/em_opt.6 index 6d92893c2..5836b17bc 100644 --- a/util/opt/em_opt.6 +++ b/util/opt/em_opt.6 @@ -4,8 +4,8 @@ .SH NAME em_opt \- EM peephole optimizer .SH SYNOPSIS -.B ~em/lib/em_opt -[-Ln] [ argument ] +.B ~em/lib.bin/em_opt +[-Ln] [-m[l]] [ argument ] .SH DESCRIPTION Em_opt reads a compact EM-program, argument or standard input, and produces another compact EM program on standard output @@ -23,10 +23,16 @@ the names of all exported entities in this module. Do not optimize. No peephole optimizations will be performed, other functions will be carried out. +.IP -m +Try to replace multiplies with constants by combinations of shifts and adds, +but no more than of them. Integer overflow detection is lost with this +option. +.IP -ml +Like -m, but also for long multiplies. .SH "FILES" /usr/tmp/emopt??????, is used when the -L flag is given only. .SH "SEE ALSO" -ack(I) +ack(1) .PD 0 .IP [1] A.S. Tanenbaum, Hans van Staveren, Ed Keizer and Johan -- 2.34.1