From bf65b159eca3b3a5b4ff6dd0d923b83223b3e3f2 Mon Sep 17 00:00:00 2001 From: Doug Evans Date: Fri, 17 Oct 1997 23:21:12 +0000 Subject: [PATCH] (output_fp_move_quad): If TARGET_V9 and not TARGET_HARD_QUAD, use fmovd so it works if a quad float ends up in one of the upper 32 float regs. From-SVN: r15985 --- gcc/config/sparc/sparc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gcc/config/sparc/sparc.c b/gcc/config/sparc/sparc.c index cc4430c980a..d85e600f51d 100644 --- a/gcc/config/sparc/sparc.c +++ b/gcc/config/sparc/sparc.c @@ -2348,6 +2348,8 @@ output_fp_move_quad (operands) { if (TARGET_V9 && TARGET_HARD_QUAD) return "fmovq %1,%0"; + else if (TARGET_V9) + return "fmovd %1,%0\n\tfmovd %S1,%S0"; else return "fmovs %1,%0\n\tfmovs %R1,%R0\n\tfmovs %S1,%S0\n\tfmovs %T1,%T0"; } -- 2.30.2