pa.c (pa_commutative_p): Make PLUS commutative when TARGET_NO_SPACE_REGS is true.

* pa.c (pa_commutative_p): Make PLUS commutative when
	TARGET_NO_SPACE_REGS is true.

From-SVN: r101853
This commit is contained in:
John David Anglin 2005-07-10 16:47:28 +00:00 committed by John David Anglin
parent 9d598243bd
commit bd7d504356
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2005-07-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
* pa.c (pa_commutative_p): Make PLUS commutative when
TARGET_NO_SPACE_REGS is true.
2005-07-09 Diego Novillo <dnovillo@redhat.com>
* Makefile.in (tree-ssa-alias.o): Depend on tree-ssa-structalias.h

View file

@ -7831,7 +7831,8 @@ static bool
pa_commutative_p (rtx x, int outer_code)
{
return (COMMUTATIVE_P (x)
&& ((outer_code != UNKNOWN && outer_code != MEM)
&& (TARGET_NO_SPACE_REGS
|| (outer_code != UNKNOWN && outer_code != MEM)
|| GET_CODE (x) != PLUS));
}