Re: Compiler optimization of division and remainder

prener@watson.ibm.com (Dan Prener)
29 Jan 1996 00:28:26 -0500

          From comp.compilers

Related articles
Compiler optimization of division and remainder hbaker@netcom.com (1996-01-27)
Re: Compiler optimization of division and remainder d.sand@ix.netcom.com (1996-01-27)
Re: Compiler optimization of division and remainder augustss@cs.chalmers.se (1996-01-27)
Re: Compiler optimization of division and remainder richard@atheist.tamu.edu (1996-01-28)
Re: Compiler optimization of division and remainder prener@watson.ibm.com (1996-01-29)
Re: Compiler optimization of division and remainder hbaker@netcom.com (1996-01-29)
Re: Compiler optimization of division and remainder Peter-Lawrence.Montgomery@cwi.nl (1996-01-29)
Re: Compiler optimization of division and remainder johnmce@world.std.com (1996-01-29)
Re: Compiler optimization of division and remainder michael.williams@armltd.co.uk (1996-01-29)
Re: Compiler optimization of division and remainder jgj@ssd.hcsc.com (1996-01-29)
Re: Compiler optimization of division and remainder dave@occl-cam.demon.co.uk (Dave Lloyd) (1996-01-29)
[1 later articles]
| List of all articles for this month |

From: prener@watson.ibm.com (Dan Prener)
Newsgroups: comp.compilers
Date: 29 Jan 1996 00:28:26 -0500
Organization: IBM T.J. Watson Research Center, Hawthorne, New York
References: 96-01-088
Keywords: arithmetic

hbaker@netcom.com (Henry G. Baker) writes:


> [do any compilers actually optimize a/b and a%b into a single operation
> if both appear?]


IBM's xlc compiler does this, when compiling for the POWER (but not
the PowerPC) architecture.
--
                                                                      Dan Prener (prener@watson.ibm.com)


--


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.