summaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linuxspe.h
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-05 22:49:29 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2003-10-05 22:49:29 +0000
commit9381e7a70d5b8b1b6962eeedf097b37105f114a2 (patch)
tree90fd7003b733ad95b6625ad703688cfc4bde0ef2 /gcc/config/rs6000/linuxspe.h
parentf024691d2a66811e08d60b5caeba6d73fe67c504 (diff)
downloadgcc-9381e7a70d5b8b1b6962eeedf097b37105f114a2.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@72121 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rs6000/linuxspe.h')
-rw-r--r--gcc/config/rs6000/linuxspe.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/gcc/config/rs6000/linuxspe.h b/gcc/config/rs6000/linuxspe.h
index 382be0a60e9..59eb8316f04 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) \