Commit e13c943c by Richard Henderson Committed by Richard Henderson

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
parent be3d27d6
Tue Dec 16 23:45:40 1997 Richard Henderson <rth@cygnus.com>
* 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 <Christian.Iseli@lslsun.epfl.ch> Wed Dec 17 00:13:48 1997 Christian Iseli <Christian.Iseli@lslsun.epfl.ch>
* combine.c (force_to_mode): return immediately if operand is a CLOBBER. * combine.c (force_to_mode): return immediately if operand is a CLOBBER.
......
...@@ -2914,7 +2914,7 @@ enum sparc_mode_class { ...@@ -2914,7 +2914,7 @@ enum sparc_mode_class {
#define DF_MODES (S_MODES | D_MODES) #define DF_MODES (S_MODES | D_MODES)
/* ??? Sparc64 fp regs cannot hold DImode values. */ /* ??? 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. */ /* Modes for double-float only quantities. */
/* ??? Sparc64 fp regs cannot hold DImode values. /* ??? Sparc64 fp regs cannot hold DImode values.
...@@ -3852,10 +3852,10 @@ function_arg (cum, mode, type, named, incoming_p) ...@@ -3852,10 +3852,10 @@ function_arg (cum, mode, type, named, incoming_p)
return gen_rtx (PARALLEL, mode, return gen_rtx (PARALLEL, mode,
gen_rtvec (2, gen_rtvec (2,
gen_rtx (EXPR_LIST, VOIDmode, gen_rtx (EXPR_LIST, VOIDmode,
gen_rtx (REG, mode, intreg), reg, const0_rtx),
const0_rtx),
gen_rtx (EXPR_LIST, VOIDmode, gen_rtx (EXPR_LIST, VOIDmode,
reg, const0_rtx))); gen_rtx (REG, mode, intreg),
const0_rtx)));
} }
else else
return gen_rtx (PARALLEL, mode, return gen_rtx (PARALLEL, mode,
......
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