(call_operand): If in REG, only reg 27 valid.

From-SVN: r11301
This commit is contained in:
Richard Kenner 1996-02-19 07:17:19 -05:00
parent a5559dbc82
commit 7e27702536
1 changed files with 3 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* Subroutines used for code generation on the DEC Alpha.
Copyright (C) 1992, 1993, 1994, 1995 Free Software Foundation, Inc.
Copyright (C) 1992, 1993, 1994, 1995, 1996 Free Software Foundation, Inc.
Contributed by Richard Kenner (kenner@vlsi1.ultra.nyu.edu)
This file is part of GNU CC.
@ -370,7 +370,8 @@ call_operand (op, mode)
if (mode != Pmode)
return 0;
return (GET_CODE (op) == SYMBOL_REF || GET_CODE (op) == REG);
return (GET_CODE (op) == SYMBOL_REF
|| (GET_CODE (op) == REG && REGNO (op) == 27));
}
/* Return 1 if OP is a valid Alpha comparison operator. Here we know which