This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/27619] wrong code for mixed-mode division with -mpowerpc64 -O1
- From: "pinskia at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 May 2006 17:27:11 -0000
- Subject: [Bug target/27619] wrong code for mixed-mode division with -mpowerpc64 -O1
- References: <bug-27619-4503@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from pinskia at gcc dot gnu dot org 2006-05-16 17:27 -------
(In reply to comment #4)
> does -mpowerpc64 default to 32bit by any chance? see stdu vs. stwu in fn
> prologue.
Well I bet you have 32bit as the default.
Anyways -mpowerpc64 is the 64bit register in 32bit mode. And the asm is not
different except for differences in loading. I am wondering if there is
context switch happening somewhere which is messing up the registers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27619