mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-07 22:07:43 +08:00
arm.c (arm_adjust_cost): Correct logic that tests the return values from recog_memoized().
2003-04-26 Ben Elliston <bje@wasabisystems.com> * config/arm/arm.c (arm_adjust_cost): Correct logic that tests the return values from recog_memoized(). From-SVN: r66064
This commit is contained in:
parent
ee8ce6dbe1
commit
eda833e3f2
@ -1,3 +1,8 @@
|
||||
2003-04-26 Ben Elliston <bje@wasabisystems.com>
|
||||
|
||||
* config/arm/arm.c (arm_adjust_cost): Correct logic that tests the
|
||||
return values from recog_memoized().
|
||||
|
||||
2003-04-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
|
||||
|
||||
PR opt/8705
|
||||
|
@ -3474,8 +3474,8 @@ arm_adjust_cost (insn, link, dep, cost)
|
||||
on precisely how certain input operands are used. */
|
||||
if (arm_is_xscale
|
||||
&& REG_NOTE_KIND (link) == 0
|
||||
&& recog_memoized (insn) < 0
|
||||
&& recog_memoized (dep) < 0)
|
||||
&& recog_memoized (insn) >= 0
|
||||
&& recog_memoized (dep) >= 0)
|
||||
{
|
||||
int shift_opnum = get_attr_shift (insn);
|
||||
enum attr_type attr_type = get_attr_type (dep);
|
||||
|
Loading…
Reference in New Issue
Block a user