This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/42575] arm-eabi-gcc 64-bit multiply weirdness
- From: "ktkachov at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 May 2013 09:55:21 +0000
- Subject: [Bug rtl-optimization/42575] arm-eabi-gcc 64-bit multiply weirdness
- Auto-submitted: auto-generated
- References: <bug-42575-4 at http dot gcc dot gnu dot org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42575
ktkachov at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |RESOLVED
CC| |ktkachov at gcc dot gnu.org
Resolution|--- |FIXED
--- Comment #10 from ktkachov at gcc dot gnu.org ---
(In reply to jules from comment #9)
> This appears to have regressed on mainline. I now get the following assembly
> output for the test case added by Maxim:
>
> longfunc:
> @ args = 0, pretend = 0, frame = 0
> @ frame_needed = 0, uses_anonymous_args = 0
> @ link register save eliminated.
> stmfd sp!, {r4, r5}
> umull r4, r5, r0, r2
> mul r3, r0, r3
> mla r1, r2, r1, r3
> mov r0, r4
> add r1, r1, r5
> ldmfd sp!, {r4, r5}
> bx lr
Current trunk (r199375) gives, I think this can be closed.
longfunc:
@ args = 0, pretend = 0, frame = 0
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
mul r3, r0, r3
mla r3, r2, r1, r3
umull r0, r1, r0, r2
add r1, r3, r1
bx lr