This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Sign extension elimination, complete patch.


Hello,

Here is the complete new implementation of the sign extension
elimination pass.
The first part of the implementation was already posted and reviewed
here:  http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01087.html
The code was fixed according to the comments and the reset of the 
implementation is done.

Performance result on SPEC2000, 64-bit compiler:
More than 1% speedup for gzip, twolf, mesa and ammp.
And about 2.5% speedup for bzip2.
No regression in performance for any benchmark.

Overhead of about 0.75% in compile time on SPEC2000, 64-bit compiler.

The patch consists of these files:
see.c - The new pass file, where most of the new code is.
see_integration_patch - A patch that integrates the new pass and 
                        generalizes web.
recog_patch - A new function to be inserted into recog.c
kennys_patch - Kenneth Zadeck patch that will be submitted to mainline
               4.2 and my patch needs.  See:
               http://gcc.gnu.org/ml/gcc-patches/2005-08/msg01744.html

Note: kennys_patch is not part of this patch.  It will be submitted by
      Kenneth Zadeck.  I've attached it just to make the code work.

Bootstrapped and regression tested on powerpc-suse-linux (POWER4).
Regression tests passed and no regression on SPEC2000,
on powerpc64-suse-linux (POWER4).

Leehod.



Attachment: see_integration_patch
Description: Binary data

Attachment: recog_patch
Description: Binary data

Attachment: kennys_patch
Description: Binary data

Attachment: Changelog
Description: Binary data

Attachment: see.c
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]