public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/40770]  New: Vectorization of complex types, vectorization of sincos missing
@ 2009-07-16  9:42 rguenth at gcc dot gnu dot org
  2009-07-16  9:43 ` [Bug tree-optimization/40770] " ubizjak at gmail dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 26+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2009-07-16  9:42 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-09-22 11:31 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-40770-4@http.gcc.gnu.org/bugzilla/>
2011-09-13  9:55 ` [Bug tree-optimization/40770] Vectorization of complex types, vectorization of sincos missing vincenzo.innocente at cern dot ch
2011-09-27 14:13 ` rguenth at gcc dot gnu.org
2020-09-22  6:35 ` rguenth at gcc dot gnu.org
2020-09-22  7:04 ` kangshan0910 at hotmail dot com
2020-09-22  8:11 ` rguenther at suse dot de
2020-09-22  9:03 ` jakub at gcc dot gnu.org
2020-09-22  9:37 ` fw at gcc dot gnu.org
2020-09-22  9:49 ` rguenth at gcc dot gnu.org
2020-09-22  9:58 ` jakub at gcc dot gnu.org
2020-09-22  9:58 ` jakub at gcc dot gnu.org
2020-09-22 10:15 ` kangshan0910 at hotmail dot com
2020-09-22 10:19 ` kangshan0910 at hotmail dot com
2020-09-22 10:43 ` rguenth at gcc dot gnu.org
2020-09-22 11:14 ` kangshan0910 at hotmail dot com
2020-09-22 11:17 ` rguenther at suse dot de
2020-09-22 11:31 ` kangshan0910 at hotmail dot com
2009-07-16  9:42 [Bug tree-optimization/40770] New: " rguenth at gcc dot gnu dot org
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

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).