Commit e4463bf1 by Aldy Hernandez Committed by Aldy Hernandez

rs6000.c (rs6000_override_options): Error when user wants altivec and e500 instructions.

	* config/rs6000/rs6000.c (rs6000_override_options): Error when
	user wants altivec and e500 instructions.

From-SVN: r80996
parent f33e359d
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> 2004-04-21 H.J. Lu <hongjiu.lu@intel.com>
PR target/14813 PR target/14813
......
...@@ -893,6 +893,9 @@ rs6000_override_options (const char *default_cpu) ...@@ -893,6 +893,9 @@ rs6000_override_options (const char *default_cpu)
if (TARGET_E500) if (TARGET_E500)
{ {
if (TARGET_ALTIVEC)
error ("AltiVec and E500 instructions cannot coexist");
/* The e500 does not have string instructions, and we set /* The e500 does not have string instructions, and we set
MASK_STRING above when optimizing for size. */ MASK_STRING above when optimizing for size. */
if ((target_flags & MASK_STRING) != 0) if ((target_flags & MASK_STRING) != 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment