aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2005-01-17 22:48:35 +0000
committerMark Mitchell <mark@codesourcery.com>2005-01-17 22:48:35 +0000
commite85754c04faf9d091bd971137aef173368b60460 (patch)
treebdcae3bb546da9fc634c0f1afdecafdbf4ca074d
parent4ae7dbfe571aac9cad8b7f565e085ac25edb0620 (diff)
* config/rs6000/rs6000.h (TARGET_SPE_ABI): Make it dynamic.csl-3_4-linux-branch
(TARGET_SPE): Likeiwse. (TARGET_E500): Likewise. (TARGET_ISEL): Likewise. (TARGET_FPRS): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/branches/csl-3_4-linux-branch@93781 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog.csl8
-rw-r--r--gcc/config/rs6000/rs6000.h10
2 files changed, 13 insertions, 5 deletions
diff --git a/gcc/ChangeLog.csl b/gcc/ChangeLog.csl
index 2d62e31f1da..0ea2cef5ee7 100644
--- a/gcc/ChangeLog.csl
+++ b/gcc/ChangeLog.csl
@@ -1,3 +1,11 @@
+2005-01-17 Mark Mitchell <mark@codesourcery.com>
+
+ * config/rs6000/rs6000.h (TARGET_SPE_ABI): Make it dynamic.
+ (TARGET_SPE): Likeiwse.
+ (TARGET_E500): Likewise.
+ (TARGET_ISEL): Likewise.
+ (TARGET_FPRS): Likewise.
+
2005-01-16 Mark Mitchell <mark@codesourcery.com>
* config/gcc/config.gcc (mips-wrs-linux-gnu): New triplet.
diff --git a/gcc/config/rs6000/rs6000.h b/gcc/config/rs6000/rs6000.h
index 41cbda03a72..0604636e691 100644
--- a/gcc/config/rs6000/rs6000.h
+++ b/gcc/config/rs6000/rs6000.h
@@ -559,11 +559,11 @@ extern const char *rs6000_warn_altivec_long_switch;
#define TARGET_ALTIVEC_ABI rs6000_altivec_abi
#define TARGET_ALTIVEC_VRSAVE rs6000_altivec_vrsave
-#define TARGET_SPE_ABI 0
-#define TARGET_SPE 0
-#define TARGET_E500 0
-#define TARGET_ISEL 0
-#define TARGET_FPRS 1
+#define TARGET_SPE_ABI rs6000_spe_abi
+#define TARGET_SPE rs6000_spe
+#define TARGET_E500 (rs6000_cpu == PROCESSOR_PPC8540)
+#define TARGET_ISEL rs6000_isel
+#define TARGET_FPRS (!rs6000_float_gprs)
/* Sometimes certain combinations of command options do not make sense
on a particular target machine. You can define a macro