summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/eabispe.h
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-07 18:49:11 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2003-04-07 18:49:11 +0000
commit38d1018aa87ac7321c0bb9cad97e6fb2d42f2225 (patch)
treeb17b3f050d108f7ec88321f972781deab7a5ebe5 /gcc/config/rs6000/eabispe.h
parent68c22c86ba542b18e282465fcad642b41f0d00e0 (diff)
downloadgcc-38d1018aa87ac7321c0bb9cad97e6fb2d42f2225.tar.gz
2003-04-07 Aldy Hernandez <aldyh@redhat.com>
* doc/invoke.texi (RS/6000 and PowerPC Options): Document -mfloat-gprs. * config/rs6000/rs6000.c: Delete rs6000_fprs. Declare rs6000_float_gprs. Declare rs6000_float_gprs_string. (rs6000_parse_float_gprs_option): New. (rs6000_override_options): Genericize rs6000_parse_* calls to use rs6000_parse_yes_no_option. Change check for cpu=8540, to use TARGET_E500. (rs6000_parse_isel_option): Delete. (rs6000_parse_spe_option): Delete. (rs6000_parse_vrsave_option): Delete. * config/rs6000/rs6000.h: Rename rs6000_fprs to rs6000_float_gprs. Define rs6000_float_gprs_string. (TARGET_OPTIONS): Add rs6000_float_gprs option. * config/rs6000/eabi.h (TARGET_FPRS): Change to use rs6000_float_gprs. * config/rs6000/eabispe.h: Set rs6000_float_gprs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@65336 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/eabispe.h')
-rw-r--r--gcc/config/rs6000/eabispe.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/config/rs6000/eabispe.h b/gcc/config/rs6000/eabispe.h
index 5cbe7f7ba5e..f907c97a223 100644
--- a/gcc/config/rs6000/eabispe.h
+++ b/gcc/config/rs6000/eabispe.h
@@ -32,7 +32,8 @@ Boston, MA 02111-1307, USA. */
rs6000_cpu = PROCESSOR_PPC8540; \
if (rs6000_abi_string == NULL || strstr (rs6000_abi_string, "spe") == NULL) \
rs6000_spe_abi = 1; \
- rs6000_fprs = 0; \
+ if (rs6000_float_gprs_string == NULL) \
+ rs6000_float_gprs = 1; \
/* See note below. */ \
/*if (rs6000_long_double_size_string == NULL)*/ \
/* rs6000_long_double_type_size = 128;*/ \