public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "ubizjak at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug target/29930] Omitted conversion float -> double in x86 back-end Date: Tue, 21 Nov 2006 20:09:00 -0000 [thread overview] Message-ID: <20061121200910.13816.qmail@sourceware.org> (raw) In-Reply-To: <bug-29930-13346@http.gcc.gnu.org/bugzilla/> ------- Comment #2 from ubizjak at gmail dot com 2006-11-21 20:09 ------- You should use -ffloat-store if you are concerned about excess precision. There will be no end of moves to and from memory: foo: pushl %ebp movl %esp, %ebp subl $16, %esp fildll 8(%ebp) fstps -4(%ebp) flds -4(%ebp) fstpl -16(%ebp) fldl -16(%ebp) leave ret This is a bit unoptimal, but I guess one shouldn't count extra cpu cycles when -ffloat-store is required. BTW: -ffloat-store with SSE math is a bit amusing, but fortunatelly totally unnecessary. -- ubizjak at gmail dot com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29930
prev parent reply other threads:[~2006-11-21 20:09 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-11-21 16:47 [Bug rtl-optimization/29930] New: " roberto dot costa at st dot com 2006-11-21 17:01 ` [Bug target/29930] " rguenth at gcc dot gnu dot org 2006-11-21 20:09 ` ubizjak at gmail dot com [this message]
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=20061121200910.13816.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: 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).