aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i960
diff options
context:
space:
mode:
authorTom Wood <wood@gnu.org>1993-03-26 11:26:53 +0000
committerTom Wood <wood@gnu.org>1993-03-26 11:26:53 +0000
commitcc5ae869302448c8d22d706b4f1d938e79396b70 (patch)
treefc52128aecd5a3350f94ed581df0f7e6ea84aef8 /gcc/config/i960
parent9f0729815d3e0dd06cc0f361749649b597360962 (diff)
downloadgcc-cc5ae869302448c8d22d706b4f1d938e79396b70.zip
gcc-cc5ae869302448c8d22d706b4f1d938e79396b70.tar.gz
gcc-cc5ae869302448c8d22d706b4f1d938e79396b70.tar.bz2
(FUNCTION_VALUE_REGNO_P): Change to agree with
FUNCTION_VALUE. From-SVN: r3884
Diffstat (limited to 'gcc/config/i960')
-rw-r--r--gcc/config/i960/i960.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i960/i960.h b/gcc/config/i960/i960.h
index 5147539..cdcb53a 100644
--- a/gcc/config/i960/i960.h
+++ b/gcc/config/i960/i960.h
@@ -714,7 +714,7 @@ enum reg_class { NO_REGS, GLOBAL_REGS, LOCAL_REGS, LOCAL_OR_GLOBAL_REGS,
as seen by the caller.
On 80960, returns are in g0..g3 */
-#define FUNCTION_VALUE_REGNO_P(N) ((N) < 4)
+#define FUNCTION_VALUE_REGNO_P(N) ((N) == 0)
/* 1 if N is a possible register number for function argument passing.
On 80960, parameters are passed in g0..g11 */