From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,100c510dac09e617 X-Google-Attributes: gid111c93,public From: lindahl@pbm.com (Greg Lindahl) Subject: Re: MFlops Comparison using g77 (bad news) Date: 1997/09/16 Message-ID: <5vmo4k$6u6@news2.zippo.com>#1/1 X-Deja-AN: 273079270 References: <5vml8c$6kb$1@news.utrecht.NL.net> Organization: a guest of Shadow Island Games Newsgroups: comp.os.linux.alpha Toon Moene writes: > However, in g77 "strength reduction" is almost completely ineffective on the > Alpha, because the optimisation pass doesn't know how to deal with subword > integers (the default INTEGER in g77 is 32 bits wide, which is half of a > 64-bit register). If this theory is correct, then f2c should produce much better code for this particular example -- once translated to C, the index values are cast to 64-bit quantities, and gcc should be able to strength-reduce those. -- g