alpha.c (alpha_expand_mov): Don't call alpha_legitimize_address unless mode is Pmode.

* config/alpha/alpha.c (alpha_expand_mov): Don't call
	alpha_legitimize_address unless mode is Pmode.

From-SVN: r48827
This commit is contained in:
Richard Kenner 2002-01-14 12:15:19 +00:00 committed by Richard Kenner
parent 6f0b9e69d4
commit d3e9820863
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Jan 14 07:08:55 2002 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
* config/alpha/alpha.c (alpha_expand_mov): Don't call
alpha_legitimize_address unless mode is Pmode.
2002-01-13 Geoffrey Keating <geoffk@redhat.com>
* doc/md.texi (Modifiers): Document the '*' constraint for the

View File

@ -2478,7 +2478,7 @@ alpha_expand_mov (mode, operands)
operands[1] = force_reg (mode, operands[1]);
/* Allow legitimize_address to perform some simplifications. */
if (symbolic_operand (operands[1], mode))
if (mode == Pmode && symbolic_operand (operands[1], mode))
{
rtx tmp = alpha_legitimize_address (operands[1], operands[0], mode);
if (tmp)