r214582 - in /trunk/gcc: ChangeLog config/mn103...
dmalcolm@gcc.gnu.org
dmalcolm@gcc.gnu.org
Wed Aug 27 19:12:00 GMT 2014
Author: dmalcolm
Date: Wed Aug 27 19:12:31 2014
New Revision: 214582
URL: https://gcc.gnu.org/viewcvs?rev=214582&root=gcc&view=rev
Log:
mn10300: Fixes to PARALLEL handling within mn10300_adjust_sched_cost
2014-08-27 David Malcolm <dmalcolm@redhat.com>
* gcc/config/mn10300/mn10300.c (is_load_insn): Rename to...
(set_is_load_p): ...this, updating to work on a SET pattern rather
than an insn.
(is_store_insn): Rename to...
(set_is_store_p): ...this, updating to work on a SET pattern
rather than an insn.
(mn10300_adjust_sched_cost): Move call to get_attr_timings from
top of function to where it is needed. Rewrite the bogus
condition that checks for "insn" and "dep" being PARALLEL to
instead use single_set, introducing locals "insn_set" and
"dep_set". Given that we only ever returned "cost" for a non-pair
of SETs, bail out early if we don't have a pair of SET.
Rewrite all uses of PATTERN (dep) and PATTERN (insn) to instead
use the new locals "insn_set" and "dep_set", and update calls to
is_load_insn and is_store_insn to be calls to set_is_load_p and
set_is_store_p.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/config/mn10300/mn10300.c
More information about the Gcc-cvs
mailing list