This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: Number of functions optimized by GCSE module
- From: Chris Lattner <sabre at nondot dot org>
- To: Qiong Cai <qiongc at cse dot unsw dot edu dot au>
- Cc: gcc at gcc dot gnu dot org
- Date: Tue, 13 Jan 2004 10:22:03 -0600 (CST)
- Subject: RE: Number of functions optimized by GCSE module
Qiong Cai wrote:
> I've met a problem when I wanted to know the number of functions in
> 164.gzip benchmark (SPEC CPU2000) optimized by GCSE module. On a
> Pentium 4 machines, I found 74 functions optimized by GCSE, while on a
> UltraSparc machine, 80 functions.
There could be several differences. If you are using GCC, it performs
GCSE on the machine specific RTL representation, so the representation of
each function in RTL can be different for different platforms. Also,
different systems have different header files, which can cause macros to
expand differently, leading to potentially different code.
If you give more details about which compiler you are using and how you
are evaluating this, you can get more details. :)
-Chris
--
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/