public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/105923] New: unsupported return type ‘complex double’ for simd
@ 2022-06-11  1:32 hjl.tools at gmail dot com
  2022-06-11  1:35 ` [Bug c/105923] " pinskia at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: hjl.tools at gmail dot com @ 2022-06-11  1:32 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105923

            Bug ID: 105923
           Summary: unsupported return type ‘complex double’ for simd
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: crazylht at gmail dot com, wwwhhhyyy333 at gmail dot com
  Target Milestone: ---
            Target: x86-64

[hjl@gnu-tgl-3 tmp]$ cat c.c 
__attribute__ ((__simd__ ("notinbranch")))
double _Complex foo (double _Complex __x) __attribute__ ((__nothrow__ ,
__leaf__));
double _Complex foo (double _Complex __x) __attribute__ ((__nothrow__ ,
__leaf__));

int N = 3200;
double _Complex b[3200];
double _Complex a[3200];

void
bar (void)
{
  int i;

  for (i = 0; i < N; i += 1)
    b[i] = foo (a[i]);
}
[hjl@gnu-tgl-3 tmp]$ gcc -S -Ofast c.c
c.c:3:17: warning: unsupported return type ‘complex double’ for simd
    3 | double _Complex foo (double _Complex __x) __attribute__ ((__nothrow__ ,
__leaf__));
      |                 ^~~
[hjl@gnu-tgl-3 tmp]$

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

end of thread, other threads:[~2022-07-20  8:15 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-11  1:32 [Bug target/105923] New: unsupported return type ‘complex double’ for simd hjl.tools at gmail dot com
2022-06-11  1:35 ` [Bug c/105923] " pinskia at gcc dot gnu.org
2022-06-14  7:39 ` rguenth at gcc dot gnu.org
2022-06-14  7:52 ` crazylht at gmail dot com
2022-06-14  9:10 ` crazylht at gmail dot com
2022-06-15  8:10 ` crazylht at gmail dot com
2022-06-15  8:12 ` crazylht at gmail dot com
2022-06-15 18:41 ` hjl.tools at gmail dot com
2022-07-20  8:15 ` crazylht at gmail dot com

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