Commit 89f9fe50 by Nick Clifton Committed by Nick Clifton

(rs6000_cpu_cpp_builtins): Define __NO_FPRS__ when 'f' class registers will

not be available.

From-SVN: r100097
parent 0be4693a
2005-05-24 Nick Clifton <nickc@redhat.com>
* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
__NO_FPRS__ when 'f' class registers will not be available.
2005-05-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> 2005-05-24 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
* config/m32r/m32r.c (m32r_expand_block_move): Return 0 if * config/m32r/m32r.c (m32r_expand_block_move): Return 0 if
......
...@@ -140,6 +140,10 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile) ...@@ -140,6 +140,10 @@ rs6000_cpu_cpp_builtins (cpp_reader *pfile)
break; break;
} }
/* Let the compiled code know if 'f' class registers will not be available. */
if (TARGET_SOFT_FLOAT || !TARGET_FPRS)
builtin_define ("__NO_FPRS__");
targetm.resolve_overloaded_builtin = altivec_resolve_overloaded_builtin; targetm.resolve_overloaded_builtin = altivec_resolve_overloaded_builtin;
} }
......
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