From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,10dc57790e0ead82 X-Google-Attributes: gid1164f8,public X-Google-Thread: 110292,10dc57790e0ead82 X-Google-Attributes: gid110292,public X-Google-Thread: 102b75,36e5e519b6b43fb X-Google-Attributes: gid102b75,public From: Toon Moene Subject: Re: Intel going to 0.18 micron in Q2/99? Date: 1999/02/16 Message-ID: <36C9C9FD.D055D31E@moene.indiv.nluug.nl>#1/1 X-Deja-AN: 445040483 Content-Transfer-Encoding: 7bit References: <36BAC1F5.9BFAFA51@strategypartners.com> <36c8a3d5.0@news.destek.net> Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@nl.uu.net X-Trace: zonnetje.NL.net 919194291 6502 195.109.255.217 (16 Feb 1999 19:44:51 GMT) Organization: Moene Computational Physics, Maartensdijk, The Netherlands Mime-Version: 1.0 NNTP-Posting-Date: 16 Feb 1999 19:44:51 GMT Newsgroups: comp.arch,comp.sys.intel,comp.sys.dec Zalman Stern wrote: > It sounded like the original issues was a feature of the DEC Fortran > compiler that compiled code for a library routine that does four square > roots at a time very efficiently. As in a DEC supplied library routine > (which is presumeably under license) adds something like an instruction to > "do four square roots at a time" which the compiler knows how to use. > > I don't see anyway around that if you're going to use the DEC compiler with > this feature turned on. Probably a better way to do this is to teach > another compiler (say egcs) to generate as good a code as is used in that > library routine. This should result in a more flexible approach, but is of > course a hell of a lot of work. And it would only be interesting if it would help on a lot of other targets for egcs. Which gets you to the difficult target magic: Given this variance of the Hexium processor, should I generate SQRT instructions inline or call the 4-sqrts-at-a-time routine (which obviously does not just contain 4 SQRT instructions, because that would be no win). The compiler is already complicated enough with respect to cost heuristics (for instance with respect to addressing modes) as it is. -- Toon Moene (toon@moene.indiv.nluug.nl) Saturnushof 14, 3738 XG Maartensdijk, The Netherlands Phone: +31 346 214290; Fax: +31 346 214286 g77 Support: fortran@gnu.org; egcs: egcs-bugs@cygnus.com