This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c/47977] powerpc (-mcpu=8548) Wrong code for double operations in little endian mode


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47977

Marco Lazzarotto <m.lazzarotto at robox dot it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|target                      |c

--- Comment #3 from Marco Lazzarotto <m.lazzarotto at robox dot it> 2011-03-04 13:11:21 UTC ---
(In reply to comment #1)
> Using --enable-e500-double for a non-e500 target will produce a broken
> compiler.  So if you want e500 double code to work at all, try the
> powerpc-eabispe target.  (Or else pass -mabi=spe explicitly.)

My target is effectively an e500v2.
I also tried to pass -mabi=spe, with no difference in the output.
Is using --enable-e500-double compile-time equivalent to use -mdouble-float
runtime?

> It is also known that all the insn patterns for e500 are only expected to work
> for big-endian.  In general little-endian Power is hardly tested at all, but
> the SPE case is specifically expected to be broken.

Ok, it's time to test it! :-(


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]