public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "spop at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/54742] Switch elimination in FSM loop Date: Sat, 06 Dec 2014 19:20:00 -0000 [thread overview] Message-ID: <bug-54742-4-eBDqHjfX07@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-54742-4@http.gcc.gnu.org/bugzilla/> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54742 --- Comment #39 from Sebastian Pop <spop at gcc dot gnu.org> --- Author: spop Date: Sat Dec 6 19:19:37 2014 New Revision: 218451 URL: https://gcc.gnu.org/viewcvs?rev=218451&root=gcc&view=rev Log: extend jump thread for finite state automata PR tree-optimization/54742 * params.def (max-fsm-thread-path-insns, max-fsm-thread-length, max-fsm-thread-paths): New. * doc/invoke.texi (max-fsm-thread-path-insns, max-fsm-thread-length, max-fsm-thread-paths): Documented. * tree-cfg.c (split_edge_bb_loc): Export. * tree-cfg.h (split_edge_bb_loc): Declared extern. * tree-ssa-threadedge.c (simplify_control_stmt_condition): Restore the original value of cond when simplification fails. (fsm_find_thread_path): New. (fsm_find_control_statement_thread_paths): New. (thread_through_normal_block): Call find_control_statement_thread_paths. * tree-ssa-threadupdate.c (dump_jump_thread_path): Pretty print EDGE_FSM_THREAD. (verify_seme): New. (duplicate_seme_region): New. (thread_through_all_blocks): Generate code for EDGE_FSM_THREAD edges calling duplicate_seme_region. * tree-ssa-threadupdate.h (jump_thread_edge_type): Add EDGE_FSM_THREAD. * testsuite/gcc.dg/tree-ssa/ssa-dom-thread-6.c: New test. * testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c: New test. Added: trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-6.c trunk/gcc/testsuite/gcc.dg/tree-ssa/ssa-dom-thread-7.c Modified: trunk/gcc/ChangeLog trunk/gcc/doc/invoke.texi trunk/gcc/params.def trunk/gcc/testsuite/ChangeLog trunk/gcc/tree-cfg.c trunk/gcc/tree-cfg.h trunk/gcc/tree-ssa-threadedge.c trunk/gcc/tree-ssa-threadupdate.c trunk/gcc/tree-ssa-threadupdate.h
next prev parent reply other threads:[~2014-12-06 19:20 UTC|newest] Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-09-29 3:16 [Bug tree-optimization/54742] New: " joey.ye at arm dot com 2012-09-29 3:21 ` [Bug tree-optimization/54742] " pinskia at gcc dot gnu.org 2012-10-01 10:19 ` rguenth at gcc dot gnu.org 2012-10-10 7:37 ` joey.ye at arm dot com 2013-02-19 10:27 ` rguenth at gcc dot gnu.org 2013-03-04 8:27 ` venkataramanan.kumar at amd dot com 2013-03-04 8:34 ` venkataramanan.kumar at amd dot com 2013-03-04 16:56 ` law at redhat dot com 2013-03-08 3:56 ` joey.ye at arm dot com 2013-05-02 0:11 ` sje at gcc dot gnu.org 2013-11-20 7:23 ` StaffLeavers at arm dot com 2013-11-20 7:23 ` law at redhat dot com 2013-11-20 7:24 ` StaffLeavers at arm dot com 2013-11-20 7:25 ` StaffLeavers at arm dot com 2013-11-20 7:26 ` StaffLeavers at arm dot com 2013-11-20 7:26 ` StaffLeavers at arm dot com 2013-11-20 7:26 ` StaffLeavers at arm dot com 2013-11-20 7:26 ` StaffLeavers at arm dot com 2013-11-20 7:27 ` StaffLeavers at arm dot com 2013-11-20 7:27 ` StaffLeavers at arm dot com 2013-11-20 7:28 ` StaffLeavers at arm dot com 2013-11-20 7:28 ` StaffLeavers at arm dot com 2013-11-20 7:28 ` StaffLeavers at arm dot com 2013-11-20 7:29 ` StaffLeavers at arm dot com 2013-11-20 7:31 ` StaffLeavers at arm dot com 2013-11-22 19:30 ` law at redhat dot com 2013-11-27 12:11 ` jgreenhalgh at gcc dot gnu.org 2013-11-27 12:15 ` jgreenhalgh at gcc dot gnu.org 2013-12-11 18:43 ` izamyatin at gmail dot com 2013-12-11 18:48 ` law at redhat dot com 2013-12-12 11:22 ` izamyatin at gmail dot com 2013-12-13 11:05 ` rguenth at gcc dot gnu.org 2013-12-25 13:48 ` izamyatin at gmail dot com 2014-02-17 10:07 ` joey.ye at arm dot com 2014-02-19 11:22 ` joey.ye at arm dot com 2014-06-28 15:45 ` spop at gcc dot gnu.org 2014-08-12 22:49 ` sje at gcc dot gnu.org 2014-12-06 19:20 ` spop at gcc dot gnu.org [this message] 2014-12-06 19:23 ` spop at gcc dot gnu.org 2015-01-14 10:23 ` yroux at gcc dot gnu.org 2023-12-15 18:21 ` pinskia at gcc dot gnu.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=bug-54742-4-eBDqHjfX07@http.gcc.gnu.org/bugzilla/ \ --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: linkBe 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).