public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "rguenth at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug tree-optimization/40770] New: Vectorization of complex types, vectorization of sincos missing Date: Thu, 16 Jul 2009 09:42:00 -0000 [thread overview] Message-ID: <bug-40770-10053@http.gcc.gnu.org/bugzilla/> (raw) The following should be vectorized with proper -mveclib: float xf[1024]; float sf[1024]; float cf[1024]; void foo (void) { int i; for (i = 0; i < 1024; ++i) { sf[i] = __builtin_sinf (xf[i]); cf[i] = __builtin_cosf (xf[i]); } } double xd[1024]; double sd[1024]; double cd[1024]; void bar (void) { int i; for (i = 0; i < 1024; ++i) { sd[i] = __builtin_sin (xd[i]); cd[i] = __builtin_cos (xd[i]); } } -- Summary: Vectorization of complex types, vectorization of sincos missing Product: gcc Version: 4.5.0 Status: UNCONFIRMED Keywords: missed-optimization Severity: enhancement Priority: P3 Component: tree-optimization AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: rguenth at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40770
next reply other threads:[~2009-07-16 9:42 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-07-16 9:42 rguenth at gcc dot gnu dot org [this message] 2009-07-16 9:43 ` [Bug tree-optimization/40770] " ubizjak at gmail dot com 2009-07-16 9:44 ` rguenth at gcc dot gnu dot org 2009-07-16 12:29 ` irar at il dot ibm dot com 2009-07-16 13:05 ` rguenther at suse dot de 2009-07-16 13:32 ` burnus at gcc dot gnu dot org 2009-07-16 13:58 ` rguenther at suse dot de 2009-07-16 17:31 ` irar at il dot ibm dot com 2009-07-20 11:18 ` irar at il dot ibm dot com 2009-07-20 12:30 ` ubizjak at gmail dot com 2009-07-20 12:55 ` rguenther at suse dot de
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-40770-10053@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).