aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2003-10-05 22:49:29 +0000
committerAldy Hernandez <aldyh@gcc.gnu.org>2003-10-05 22:49:29 +0000
commitc9545f49d3e273cb0d24eed0d0bef69bdd744a51 (patch)
tree90fd7003b733ad95b6625ad703688cfc4bde0ef2 /gcc
parent2067c116a461065421179358eb97a4ca83d98009 (diff)
downloadgcc-c9545f49d3e273cb0d24eed0d0bef69bdd744a51.zip
gcc-c9545f49d3e273cb0d24eed0d0bef69bdd744a51.tar.gz
gcc-c9545f49d3e273cb0d24eed0d0bef69bdd744a51.tar.bz2
linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE, TARGET_E500, TARGET_ISEL, and TARGET_FPRS.
2003-10-05 Aldy Hernandez <aldyh@redhat.com> * config/rs6000/linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE, TARGET_E500, TARGET_ISEL, and TARGET_FPRS. From-SVN: r72121
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/linuxspe.h12
2 files changed, 17 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0dd3d1f..8bc30bb 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2003-10-05 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/rs6000/linuxspe.h: Define TARGET_SPE_ABI, TARGET_SPE,
+ TARGET_E500, TARGET_ISEL, and TARGET_FPRS.
+
2003-10-05 Kazu Hirata <kazu@cs.umass.edu>
* c-pretty-print.c: Fix comment typos.
diff --git a/gcc/config/rs6000/linuxspe.h b/gcc/config/rs6000/linuxspe.h
index 382be0a..59eb831 100644
--- a/gcc/config/rs6000/linuxspe.h
+++ b/gcc/config/rs6000/linuxspe.h
@@ -27,6 +27,18 @@
#undef TARGET_DEFAULT
#define TARGET_DEFAULT (MASK_POWERPC | MASK_NEW_MNEMONICS)
+#undef TARGET_SPE_ABI
+#undef TARGET_SPE
+#undef TARGET_E500
+#undef TARGET_ISEL
+#undef TARGET_FPRS
+
+#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)
+
#undef SUBSUBTARGET_OVERRIDE_OPTIONS
#define SUBSUBTARGET_OVERRIDE_OPTIONS \
if (rs6000_select[1].string == NULL) \