Commit b5044283 by Aldy Hernandez Committed by Aldy Hernandez

rs6000.c (rs6000_override_options): Disable string instructions for e500.

2003-03-11  Aldy Hernandez  <aldyh@redhat.com>

        * config/rs6000/rs6000.c (rs6000_override_options): Disable string
        instructions for e500.

From-SVN: r64188
parent cd6a5007
2003-03-11 Aldy Hernandez <aldyh@redhat.com>
* config/rs6000/rs6000.c (rs6000_override_options): Disable string
instructions for e500.
2003-03-11 Neil Booth <neil@daikokuya.co.uk> 2003-03-11 Neil Booth <neil@daikokuya.co.uk>
* Makefile.in: Update. * Makefile.in: Update.
......
...@@ -698,6 +698,11 @@ rs6000_override_options (default_cpu) ...@@ -698,6 +698,11 @@ rs6000_override_options (default_cpu)
SUBSUBTARGET_OVERRIDE_OPTIONS; SUBSUBTARGET_OVERRIDE_OPTIONS;
#endif #endif
/* The e500 does not have string instructions, and we set
MASK_STRING above when optimizing for size. */
if (TARGET_SPE && (target_flags & MASK_STRING) != 0)
target_flags = target_flags & ~MASK_STRING;
/* Handle -m(no-)longcall option. This is a bit of a cheap hack, /* Handle -m(no-)longcall option. This is a bit of a cheap hack,
using TARGET_OPTIONS to handle a toggle switch, but we're out of using TARGET_OPTIONS to handle a toggle switch, but we're out of
bits in target_flags so TARGET_SWITCHES cannot be used. bits in target_flags so TARGET_SWITCHES cannot be used.
......
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