Re: [myrinet] division operation

Greg Lindahl <[email protected]>
Newsgroups gmane.network.myrinet.general
Message-ID <[email protected]>
On Thu, Nov 29, 2001 at 01:52:18PM -0700, Edgar A. Leon wrote:

> Considering that there's no division in the LANai instruction set, I
> find interesting that in the file gmcp.c, part of the mcp code uses
> divisions. Anybody knows why is that? 

Dividing a constant by a constant can be done at compile time. gcc has
the usual optimizations, and the lanai compiler is gcc with a special
backend. 

greg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.