[Bug 1740] Change PowerPC multi-libs for e200 and e500 cores
bugzilla-daemon at rtems.org
bugzilla-daemon at rtems.org
Sat Feb 26 02:59:47 UTC 2011
https://www.rtems.org/bugzilla/show_bug.cgi?id=1740
--- Comment #20 from Ralf Corsepius <ralf.corsepius at rtems.org> 2011-02-25 20:59:44 CST ---
(In reply to comment #16)
> From my point of view -mspe and -mabi=spe is mandatory, if you want to use any
> SPE instructions.
The later half of your sentence is the key question to me.
Why would you want to use "any spe instruction" and what would doing so buy to
you?
Just because something is possible, doesn't mean it's useful nor does this mean
"one needs/has to".
> This is covered by:
>
> #undef SUBSUBTARGET_OVERRIDE_OPTIONS
> #define SUBSUBTARGET_OVERRIDE_OPTIONS \
> do { \
> if (TARGET_E500) \
> { \
> if (!rs6000_explicit_options.float_gprs) \
> rs6000_float_gprs = 1; \
> if (rs6000_float_gprs != 0 && \
> !rs6000_explicit_options.spe) \
> rs6000_spe = 1; \
> if (rs6000_spe && \
> !rs6000_explicit_options.spe_abi) \
> rs6000_spe_abi = 1; \
> } \
> } while(0)
Yes, this could be what we need.
You being the powerpc user need to tell me if this is what you really _need_.
Note the emphasize on _need_. "need" in the sense of "must have" and "everybody
will want this".
> This is also similar to:
> gcc/config/rs6000/eabispe.h
You just discovered from where I had derived the rtems e500
SUBSUBTARGET_OVERRIDE_OPTIONS patch from ;)
--
Configure bugmail: https://www.rtems.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
More information about the bugs
mailing list