From 8d989403d6676e51f5e2a742fb04a641e0b9caa8 Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Mon, 16 Apr 2007 16:23:09 +0000 Subject: [PATCH] m68k.c (m68k_libcall_value, [...]): Use macros for register names more. * config/m68k/m68k.c (m68k_libcall_value, m68k_function_value): Use macros for register names more. From-SVN: r123877 --- gcc/ChangeLog | 5 +++++ gcc/config/m68k/m68k.c | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index cda7596032c..a2cf24a78fd 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2007-04-16 Kazu Hirata + + * config/m68k/m68k.c (m68k_libcall_value, + m68k_function_value): Use macros for register names more. + 2007-04-16 Maxim Kuvyrkov PR middle-end/28071 diff --git a/gcc/config/m68k/m68k.c b/gcc/config/m68k/m68k.c index 794659868a3..b450a424d68 100644 --- a/gcc/config/m68k/m68k.c +++ b/gcc/config/m68k/m68k.c @@ -4302,12 +4302,12 @@ m68k_libcall_value (enum machine_mode mode) case DFmode: case XFmode: if (TARGET_68881) - return gen_rtx_REG (mode, 16); + return gen_rtx_REG (mode, FP0_REG); break; default: break; } - return gen_rtx_REG (mode, 0); + return gen_rtx_REG (mode, D0_REG); } rtx @@ -4321,7 +4321,7 @@ m68k_function_value (tree valtype, tree func ATTRIBUTE_UNUSED) case DFmode: case XFmode: if (TARGET_68881) - return gen_rtx_REG (mode, 16); + return gen_rtx_REG (mode, FP0_REG); break; default: break;