public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "seongbae dot park at gmail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug middle-end/34400] [4.3 regression] bad interaction between DF and SJLJ exceptions
Date: Thu, 17 Jan 2008 21:44:00 -0000	[thread overview]
Message-ID: <20080117213145.10413.qmail@sourceware.org> (raw)
In-Reply-To: <bug-34400-286@http.gcc.gnu.org/bugzilla/>



------- Comment #51 from seongbae dot park at gmail dot com  2008-01-17 21:31 -------
Subject: Re:  [4.3 regression] bad interaction between DF and SJLJ exceptions

In df_live_transfer_function:

Doesn't look like we need df_live_scratch - can't we do:

bitmap_and (out, gen, bb_lr_info->out);
bitmap_and_into (in, bb_lr_info->in);
return bitmap_ior_and_compl_into (out, in, kill);

?

Seongbae

On Jan 17, 2008 1:05 PM, Kenneth Zadeck <zadeck@naturalbridge.com> wrote:
> This is the second of three patches to fix 34400.  This patch also makes
> some progress on 26854 but more work is required that is not going to be
> done in 4.3 to fix the problems here.
>
> This patch uses the output of the df_lr problem to make the df_live
> problem converge faster.
> This not only saves time but also space since the size of the df_live
> bitmaps never grows and the space of our bitmaps is proportional to the
> number of 1 bits.
>
> This has been tested on several platforms and along with the patch just
> committed cuts the time on the 34400 problems significantly.  I believe
> that this patch also has some modest improvement on bootstrap time, i.e
> regular programs.
>
> The change to df_live_reset is a slightly related latent bug fix.
>
> Ok to commit?
>
> Kenny
>
>
> 2008-01-17  Kenneth Zadeck  <zadeck@naturalbridge.com>
>         Steven Bosscher  <stevenb.gcc@gmail.com>
>
>     PR rtl-optimization/26854
>     PR rtl-optimization/34400
>     * df-problems.c (df_live_scratch): New scratch bitmap.
>     (df_live_alloc): Allocate df_live_scratch when doing df_live.
>     (df_live_reset): Clear the proper bitmaps.
>     (df_live_bb_local_compute): Only process the artificial defs once
>     since the order is not important.
>     (df_live_init): Init the df_live sets only with the variables
>     found live by df_lr.
>     (df_live_transfer_function): Use the df_lr sets to prune the
>     df_live sets as they are being computed.
>     (df_live_free): Free df_live_scratch.
>
>


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34400


  parent reply	other threads:[~2008-01-17 21:32 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-08 23:18 [Bug ada/34400] New: [4.3 regression] gnat1 takes too long to compile g-catiio.adb with " ludovic at ludovic-brenta dot org
2007-12-08 23:30 ` [Bug middle-end/34400] " pinskia at gcc dot gnu dot org
2007-12-09  9:29 ` steven at gcc dot gnu dot org
2007-12-09 13:25 ` zadeck at naturalbridge dot com
2007-12-09 13:26 ` zadeck at naturalbridge dot com
2007-12-09 20:48 ` ludovic at ludovic-brenta dot org
2007-12-10  7:47 ` ebotcazou at gcc dot gnu dot org
2007-12-10  7:48 ` ebotcazou at gcc dot gnu dot org
2007-12-10  9:40 ` ebotcazou at gcc dot gnu dot org
2007-12-10  9:42 ` ebotcazou at gcc dot gnu dot org
2007-12-10  9:46 ` [Bug middle-end/34400] [4.3 regression] bad interaction between DF and " ebotcazou at gcc dot gnu dot org
2007-12-10  9:47 ` ebotcazou at gcc dot gnu dot org
2007-12-10 12:32 ` steven at gcc dot gnu dot org
2007-12-10 13:02 ` zadeck at naturalbridge dot com
2007-12-10 14:22 ` joel at gcc dot gnu dot org
2007-12-10 18:40 ` steven at gcc dot gnu dot org
2007-12-10 19:14 ` ebotcazou at gcc dot gnu dot org
2007-12-10 19:14 ` zadeck at naturalbridge dot com
2007-12-10 22:08 ` steven at gcc dot gnu dot org
2007-12-11 13:30 ` zadeck at naturalbridge dot com
2007-12-11 13:55 ` zadeck at naturalbridge dot com
2007-12-11 20:36 ` ludovic at ludovic-brenta dot org
2007-12-14 19:41 ` joel at gcc dot gnu dot org
2007-12-14 19:55 ` zadeck at naturalbridge dot com
2007-12-14 20:00 ` joel at gcc dot gnu dot org
2007-12-14 20:07 ` zadeck at naturalbridge dot com
2007-12-14 23:29 ` steven at gcc dot gnu dot org
2007-12-15  0:29 ` steven at gcc dot gnu dot org
2007-12-16  1:50 ` steven at gcc dot gnu dot org
2007-12-16  1:55 ` steven at gcc dot gnu dot org
2007-12-16 12:01 ` steven at gcc dot gnu dot org
2007-12-16 13:56 ` zadeck at naturalbridge dot com
2007-12-17 10:52 ` ludovic at ludovic-brenta dot org
2007-12-17 10:55 ` steven at gcc dot gnu dot org
2007-12-17 13:21 ` zadeck at naturalbridge dot com
2007-12-17 15:35 ` ludovic at ludovic-brenta dot org
2007-12-17 16:02 ` zadeck at naturalbridge dot com
2007-12-17 16:16 ` ludovic at ludovic-brenta dot org
2007-12-17 16:34 ` zadeck at naturalbridge dot com
2007-12-17 16:55 ` stevenb dot gcc at gmail dot com
2007-12-17 19:33 ` steven at gcc dot gnu dot org
2007-12-19 13:58 ` bonzini at gnu dot org
2007-12-19 22:50 ` steven at gcc dot gnu dot org
2007-12-19 23:58 ` steven at gcc dot gnu dot org
2007-12-20  1:57 ` zadeck at naturalbridge dot com
2007-12-20  6:15 ` stevenb dot gcc at gmail dot com
2008-01-02 23:21 ` mmitchel at gcc dot gnu dot org
2008-01-02 23:34 ` zadeck at naturalbridge dot com
2008-01-04 11:12 ` bonzini at gnu dot org
2008-01-04 11:17 ` bonzini at gnu dot org
2008-01-10 19:19 ` zadeck at naturalbridge dot com
2008-01-17 21:05 ` spark at gcc dot gnu dot org
2008-01-17 21:32 ` zadeck at naturalbridge dot com
2008-01-17 21:44 ` seongbae dot park at gmail dot com [this message]
2008-01-17 22:40 ` seongbae dot park at gmail dot com
2008-01-17 22:48 ` zadeck at naturalbridge dot com
2008-01-19  0:51 ` zadeck at gcc dot gnu dot org
2008-01-19 10:53 ` steven at gcc dot gnu dot org
2008-01-19 15:40 ` zadeck at naturalbridge dot com
2008-01-20  2:17 ` zadeck at gcc dot gnu dot org
2008-01-20  3:06 ` zadeck at naturalbridge dot com
2008-01-22 14:14 ` zadeck at gcc dot gnu dot org
2008-01-23 15:48 ` joel at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080117213145.10413.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).