This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c/47977] powerpc (-mcpu=8548) Wrong code for double operations in little endian mode
- From: "m.lazzarotto at robox dot it" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 4 Mar 2011 13:11:26 +0000
- Subject: [Bug c/47977] powerpc (-mcpu=8548) Wrong code for double operations in little endian mode
- Auto-submitted: auto-generated
- References: <bug-47977-4@http.gcc.gnu.org/bugzilla/>
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! :-(