public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "astrange at ithinksw dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/35281] New: [4.3 regression] multiply with 0 generated for 64*32->64 Date: Thu, 21 Feb 2008 20:50:00 -0000 [thread overview] Message-ID: <bug-35281-10175@http.gcc.gnu.org/bugzilla/> (raw) > /usr/local/gcc43/bin/gcc -v Using built-in specs. Target: i386-apple-darwin9.2.0 Configured with: ../gcc/configure --prefix=/usr/local/gcc43 --enable-threads=posix --with-arch=core2 --with-tune=core2 --with-gmp=/sw --with-mpfr=/sw --disable-nls --disable-bootstrap --enable-checking=yes,rtl CFLAGS=-g LDFLAGS=/usr/lib/libiconv.dylib --enable-languages=c,c++,objc,obj-c++ Thread model: posix gcc version 4.4.0 20080219 (experimental) (GCC) > /usr/local/gcc43/bin/gcc -Os -fno-PIC -S u64mul.c -fomit-frame-pointer gcc generates: _mul32: pushl %ebx xorl %edx, %edx subl $8, %esp movl _b, %eax movl _a, %ecx movl _a+4, %ebx imull %edx, %ecx imull %eax, %ebx mull _a addl %ebx, %ecx leal (%ecx,%edx), %edx popl %ecx popl %ebx popl %ebx ret and somehow leaves all the stuff with edx in. 4.1.3 generates: mul32: movl _b, %eax movl _a+4, %ecx imull %eax, %ecx mull _a addl %edx, %ecx movl %ecx, %edx ret They both generate bad code for mul16. -- Summary: [4.3 regression] multiply with 0 generated for 64*32->64 Product: gcc Version: 4.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: rtl-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: astrange at ithinksw dot com GCC build triplet: i386-apple-darwin9.2.0 GCC host triplet: i386-apple-darwin9.2.0 GCC target triplet: i386-apple-darwin9.2.0 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35281
next reply other threads:[~2008-02-21 20:50 UTC|newest] Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-02-21 20:50 astrange at ithinksw dot com [this message] 2008-02-21 21:36 ` [Bug rtl-optimization/35281] " ubizjak at gmail dot com 2008-02-21 21:59 ` astrange at ithinksw dot com 2008-03-05 10:15 ` ubizjak at gmail dot com 2008-03-05 10:17 ` ubizjak at gmail dot com 2008-03-05 10:28 ` [Bug rtl-optimization/35281] [4.3/4.4 Regression] " rguenth at gcc dot gnu dot org 2008-03-05 10:33 ` ubizjak at gmail dot com 2008-03-05 11:11 ` ubizjak at gmail dot com 2008-03-05 13:22 ` bonzini at gnu dot org 2008-03-05 13:22 ` bonzini at gnu dot org 2008-03-10 14:15 ` bonzini at gnu dot org 2008-03-10 15:19 ` bonzini at gnu dot org 2008-03-11 16:49 ` bonzini at gcc dot gnu dot org 2008-03-11 16:49 ` bonzini at gnu dot org 2008-04-02 9:58 ` bonzini at gnu dot org 2008-04-02 11:25 ` [Bug rtl-optimization/35281] [4.3 " bonzini at gnu dot org 2008-04-03 5:38 ` bonzini at gcc dot gnu dot org 2008-06-06 15:02 ` rguenth at gcc dot gnu dot org 2008-07-14 16:08 ` bonzini at gnu dot org 2008-07-18 11:46 ` bonzini at gnu dot org 2008-07-18 11:46 ` bonzini at gcc dot gnu dot 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-35281-10175@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).