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
This commit is contained in:
parent
8734935bf8
commit
8d989403d6
@ -1,3 +1,8 @@
|
||||
2007-04-16 Kazu Hirata <kazu@codesourcery.com>
|
||||
|
||||
* config/m68k/m68k.c (m68k_libcall_value,
|
||||
m68k_function_value): Use macros for register names more.
|
||||
|
||||
2007-04-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru>
|
||||
|
||||
PR middle-end/28071
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user