public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/106254] New: [suboptinal] llvm uses instructions with larger access bit width
@ 2022-07-11 13:13 zhongyunde at huawei dot com
2022-07-11 14:12 ` [Bug c/106254] " schwab@linux-m68k.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: zhongyunde at huawei dot com @ 2022-07-11 13:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106254
Bug ID: 106254
Summary: [suboptinal] llvm uses instructions with larger access
bit width
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: zhongyunde at huawei dot com
Target Milestone: ---
llvm uses memory access instructions with larger access bit width base on
following case, both on x86 and arm, see detail
https://gcc.godbolt.org/z/c9ja9zWEE
```
#define N 10000
void
__attribute__((noipa))
foo_pd (_Complex double* a, _Complex double* b)
{
for (int i = 0; i != N; i++)
a[i] = b[i];
}
```
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug c/106254] [suboptinal] llvm uses instructions with larger access bit width
2022-07-11 13:13 [Bug c/106254] New: [suboptinal] llvm uses instructions with larger access bit width zhongyunde at huawei dot com
@ 2022-07-11 14:12 ` schwab@linux-m68k.org
2022-07-11 17:31 ` [Bug tree-optimization/106254] complex float copy loop is not vectorized pinskia at gcc dot gnu.org
2022-07-11 17:32 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: schwab@linux-m68k.org @ 2022-07-11 14:12 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106254
--- Comment #1 from Andreas Schwab <schwab@linux-m68k.org> ---
*** Bug 106255 has been marked as a duplicate of this bug. ***
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/106254] complex float copy loop is not vectorized
2022-07-11 13:13 [Bug c/106254] New: [suboptinal] llvm uses instructions with larger access bit width zhongyunde at huawei dot com
2022-07-11 14:12 ` [Bug c/106254] " schwab@linux-m68k.org
@ 2022-07-11 17:31 ` pinskia at gcc dot gnu.org
2022-07-11 17:32 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-11 17:31 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106254
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
/app/example.c:6:21: note: === vect_analyze_data_refs ===
/app/example.c:6:21: missed: not vectorized: no vectype for stmt: _5 = *_3;
scalar_type: complex double
/app/example.c:7:13: missed: not vectorized: no vectype for stmt: _5 = *_3;
scalar_type: complex double
/app/example.c:6:21: missed: bad data references.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug tree-optimization/106254] complex float copy loop is not vectorized
2022-07-11 13:13 [Bug c/106254] New: [suboptinal] llvm uses instructions with larger access bit width zhongyunde at huawei dot com
2022-07-11 14:12 ` [Bug c/106254] " schwab@linux-m68k.org
2022-07-11 17:31 ` [Bug tree-optimization/106254] complex float copy loop is not vectorized pinskia at gcc dot gnu.org
@ 2022-07-11 17:32 ` pinskia at gcc dot gnu.org
2 siblings, 0 replies; 4+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-07-11 17:32 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106254
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Dup of bug 106010.
*** This bug has been marked as a duplicate of bug 106010 ***
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-07-11 17:32 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-11 13:13 [Bug c/106254] New: [suboptinal] llvm uses instructions with larger access bit width zhongyunde at huawei dot com
2022-07-11 14:12 ` [Bug c/106254] " schwab@linux-m68k.org
2022-07-11 17:31 ` [Bug tree-optimization/106254] complex float copy loop is not vectorized pinskia at gcc dot gnu.org
2022-07-11 17:32 ` pinskia at gcc dot gnu.org
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).