public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "NickParker at Eaton dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/50256] AVR GCC - several unnecessary register moves Date: Sun, 04 Sep 2011 21:27:00 -0000 [thread overview] Message-ID: <bug-50256-4-EkdUDZyczp@http.gcc.gnu.org/bugzilla/> (raw) In-Reply-To: <bug-50256-4@http.gcc.gnu.org/bugzilla/> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50256 --- Comment #4 from NickParker at Eaton dot com 2011-09-04 21:27:43 UTC --- Hi, Thanks for your input and sorry to make a mess of reporting this. The arithmetic is fine and the code gives the results I expect. However, I have since discovered and corrected a 'bug'. I was not initialising my 'temporary result registers i.e. r2,r3,r4,r5,r6,r7. Regarding the arithmetic, the result is INTENTIONALLY accumulated from the lowest partial products to highest partial products so that at most only 3 additions are ever needed per partial product. Thanks, Nick
next prev parent reply other threads:[~2011-09-04 21:27 UTC|newest] Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top [not found] <bug-50256-4@http.gcc.gnu.org/bugzilla/> 2011-09-01 8:35 ` rguenth at gcc dot gnu.org 2011-09-01 21:31 ` NickParker at Eaton dot com 2011-09-03 12:35 ` gjl at gcc dot gnu.org 2011-09-04 21:27 ` NickParker at Eaton dot com [this message] 2011-09-04 21:29 ` NickParker at Eaton dot com 2011-09-04 22:20 ` gjl at gcc dot gnu.org 2012-09-15 9:30 ` gjl 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-50256-4-EkdUDZyczp@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: linkBe 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).