Commit 7e277025 by Richard Kenner

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

From-SVN: r11301
parent a5559dbc
/* 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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment