summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-22 02:02:13 +0000
committeraldyh <aldyh@138bc75d-0d04-0410-961f-82ee72b054a4>2004-04-22 02:02:13 +0000
commitcfdbeacf3efea5ef104ed14d99c73ded4388741f (patch)
treeda183d2eca1548670971bfa080b01b2da1689119
parent482830fd99ae901858feee9ea75e49479dc3fe7f (diff)
downloadppe42-gcc-cfdbeacf3efea5ef104ed14d99c73ded4388741f.tar.gz
ppe42-gcc-cfdbeacf3efea5ef104ed14d99c73ded4388741f.zip
* config/rs6000/rs6000.c (rs6000_override_options): Error when
user wants altivec and e500 instructions. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80996 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/rs6000/rs6000.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9b22f4db7ee..e31d4957ec7 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2004-04-21 Aldy Hernandez <aldyh@redhat.com>
+
+ * config/rs6000/rs6000.c (rs6000_override_options): Error when
+ user wants altivec and e500 instructions.
+
2004-04-21 H.J. Lu <hongjiu.lu@intel.com>
PR target/14813
diff --git a/gcc/config/rs6000/rs6000.c b/gcc/config/rs6000/rs6000.c
index 7ea3ddaa91c..49f4f96ca7a 100644
--- a/gcc/config/rs6000/rs6000.c
+++ b/gcc/config/rs6000/rs6000.c
@@ -893,6 +893,9 @@ rs6000_override_options (const char *default_cpu)
if (TARGET_E500)
{
+ if (TARGET_ALTIVEC)
+ error ("AltiVec and E500 instructions cannot coexist");
+
/* The e500 does not have string instructions, and we set
MASK_STRING above when optimizing for size. */
if ((target_flags & MASK_STRING) != 0)
OpenPOWER on IntegriCloud