From e13c943cb6f15a26a2457781e96c66202ba8e2bf Mon Sep 17 00:00:00 2001 From: Richard Henderson Date: Tue, 16 Dec 1997 15:46:23 -0800 Subject: [PATCH] sparc.c (DF_MODES): Or the mask not the bit number. * sparc.c (DF_MODES): Or the mask not the bit number. (function_arg) [ARCH64]: Send unprototyped arg to fp reg first. From-SVN: r17122 --- gcc/ChangeLog | 5 +++++ gcc/config/sparc/sparc.c | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8ebc8449f91..115cdd2e3a2 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +Tue Dec 16 23:45:40 1997 Richard Henderson + + * sparc.c (DF_MODES): Or the mask not the bit number. + (function_arg) [ARCH64]: Send unprototyped arg to fp reg first. + Wed Dec 17 00:13:48 1997 Christian Iseli * combine.c (force_to_mode): return immediately if operand is a CLOBBER. diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index 692ba41f790..02cedde86b4 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -2914,7 +2914,7 @@ enum sparc_mode_class { #define DF_MODES (S_MODES | D_MODES) /* ??? Sparc64 fp regs cannot hold DImode values. */ -#define DF_MODES64 (SF_MODES | DF_MODE /* | D_MODE*/) +#define DF_MODES64 (SF_MODES | (1 << (int) DF_MODE) /* | (1 << (int) D_MODE)*/) /* Modes for double-float only quantities. */ /* ??? Sparc64 fp regs cannot hold DImode values. @@ -3852,10 +3852,10 @@ function_arg (cum, mode, type, named, incoming_p) return gen_rtx (PARALLEL, mode, gen_rtvec (2, gen_rtx (EXPR_LIST, VOIDmode, - gen_rtx (REG, mode, intreg), - const0_rtx), + reg, const0_rtx), gen_rtx (EXPR_LIST, VOIDmode, - reg, const0_rtx))); + gen_rtx (REG, mode, intreg), + const0_rtx))); } else return gen_rtx (PARALLEL, mode, -- 2.30.2