public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pluto at agmk dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/26674] missed optimization / 128-bit arithmetic.
Date: Wed, 20 Feb 2008 09:48:00 -0000	[thread overview]
Message-ID: <20080220094806.2025.qmail@sourceware.org> (raw)
In-Reply-To: <bug-26674-7667@http.gcc.gnu.org/bugzilla/>



------- Comment #4 from pluto at agmk dot net  2008-02-20 09:48 -------
4.2.3 produces:

sqr_1:  xorl    %edx, %edx      # 45    *movdi_xor_rex64        [length = 2]
        movq    %rdi, %rax      # 11    *movdi_1_rex64/2        [length = 6]
        movq    %rdx, %rcx      # 40    *movdi_1_rex64/2        [length = 6]
        imulq   %rdi, %rcx      # 15    *muldi3_1_rex64/3       [length = 4]
        mulq    %rdi    # 18    *umulditi3_insn [length = 3]
        addq    %rcx, %rcx      # 17    *ashldi3_1_rex64/1      [length = 4]
        addq    %rdx, %rcx      # 19    *adddi_1_rex64/1        [length = 3]
        movq    %rcx, %rdx      # 20    *movdi_1_rex64/2        [length = 6]
        ret     # 43    return_internal [length = 1]

4.3-svn:

sqr_1:  movq    %rdi, %rax      # 35    *movdi_1_rex64/2        [length = 6]
        mulq    %rdi    # 13    *umulditi3_insn [length = 3]
        ret     # 41    return_internal [length = 1]


-- 

pluto at agmk dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to fail|4.1.2 4.2.0                 |4.1.2 4.2.3
      Known to work|                            |4.3.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26674


  parent reply	other threads:[~2008-02-20  9:48 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-03-14 12:07 [Bug other/26674] New: " pluto at agmk dot net
2006-03-14 13:25 ` [Bug target/26674] " pinskia at gcc dot gnu dot org
2006-03-14 13:58 ` rguenth at gcc dot gnu dot org
2006-03-14 14:00 ` rguenth at gcc dot gnu dot org
2006-10-22 17:44 ` pluto at agmk dot net
2008-02-20  9:48 ` pluto at agmk dot net [this message]
2008-04-21  7:26 ` ubizjak at gmail dot com

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=20080220094806.2025.qmail@sourceware.org \
    --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).