public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "klaus.doldinger64 at googlemail dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/54816] [avr] shift is better than widening mul
Date: Sat, 15 Apr 2023 15:48:10 +0000 [thread overview]
Message-ID: <bug-54816-4-k6cNNIk4tU@http.gcc.gnu.org/bugzilla/> (raw)
In-Reply-To: <bug-54816-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54816
--- Comment #3 from Wilhelm M <klaus.doldinger64 at googlemail dot com> ---
(In reply to Roger Sayle from comment #2)
> The original problem looks to be fixed on mainline. Can you confirm this
> Wilhelm? If so we can close this PR.
>
> With -Os -mmcu=atmega8, we currently generate (the desired):
> wmul: lsl r22
> lsl r22
> lsl r22
> muls r22,r24
> movw r24,r0
> clr __zero_reg__
> ret
Yes, this seems to be fixed in mainline.
next prev parent reply other threads:[~2023-04-15 15:48 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-04 18:28 [Bug target/54816] New: " gjl at gcc dot gnu.org
2023-04-11 5:22 ` [Bug target/54816] " klaus.doldinger64 at googlemail dot com
2023-04-15 13:27 ` roger at nextmovesoftware dot com
2023-04-15 15:48 ` klaus.doldinger64 at googlemail dot com [this message]
2023-04-16 12:04 ` cvs-commit at gcc dot gnu.org
2023-04-16 12:11 ` roger at nextmovesoftware dot com
2023-04-21 20:09 ` gjl at gcc dot gnu.org
2023-04-22 20:02 ` cvs-commit at gcc dot gnu.org
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-54816-4-k6cNNIk4tU@http.gcc.gnu.org/bugzilla/ \
--to=gcc-bugzilla@gcc.gnu.org \
--cc=gcc-bugs@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).