public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug tree-optimization/101932] New: Vectorizer failed due to argument types differ for ldexp
@ 2021-08-16 9:56 crazylht at gmail dot com
2021-08-16 11:26 ` [Bug tree-optimization/101932] " rguenth at gcc dot gnu.org
2021-08-29 8:35 ` pinskia at gcc dot gnu.org
0 siblings, 2 replies; 3+ messages in thread
From: crazylht at gmail dot com @ 2021-08-16 9:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101932
Bug ID: 101932
Summary: Vectorizer failed due to argument types differ for
ldexp
Product: gcc
Version: 12.0
Status: UNCONFIRMED
Keywords: missed-optimization
Severity: normal
Priority: P3
Component: tree-optimization
Assignee: unassigned at gcc dot gnu.org
Reporter: crazylht at gmail dot com
Target Milestone: ---
Host: x86_64-pc-linux-gnu
Target: x86_64-*-* i?86-*-*
This is from PR98309
--- Comment #2 from Hongtao.liu <crazylht at gmail dot com> ---
Although avx512 have vscalefps/d, vectorizer failed at
```
/* We can only handle calls with arguments of the same type. */
if (rhs_type
&& !types_compatible_p (rhs_type, TREE_TYPE (op)))
{
if (dump_enabled_p ())
dump_printf_loc (MSG_MISSED_OPTIMIZATION, vect_location,
"argument types differ.\n");
return false;
}
```
since __builtin_ldexp is defined as BT_FN_DOUBLE_DOUBLE_INT with 2 different
type arguments.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/101932] Vectorizer failed due to argument types differ for ldexp
2021-08-16 9:56 [Bug tree-optimization/101932] New: Vectorizer failed due to argument types differ for ldexp crazylht at gmail dot com
@ 2021-08-16 11:26 ` rguenth at gcc dot gnu.org
2021-08-29 8:35 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: rguenth at gcc dot gnu.org @ 2021-08-16 11:26 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101932
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2021-08-16
Ever confirmed|0 |1
Blocks| |53947
Status|UNCONFIRMED |NEW
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
vectorizable_call could be enhanced to allow different vectype_in as long as
there's the same number of components (thus here allow V4DF + V4SI).
Referenced Bugs:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53947
[Bug 53947] [meta-bug] vectorizer missed-optimizations
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug tree-optimization/101932] Vectorizer failed due to argument types differ for ldexp
2021-08-16 9:56 [Bug tree-optimization/101932] New: Vectorizer failed due to argument types differ for ldexp crazylht at gmail dot com
2021-08-16 11:26 ` [Bug tree-optimization/101932] " rguenth at gcc dot gnu.org
@ 2021-08-29 8:35 ` pinskia at gcc dot gnu.org
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-29 8:35 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101932
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|normal |enhancement
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2021-08-29 8:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-16 9:56 [Bug tree-optimization/101932] New: Vectorizer failed due to argument types differ for ldexp crazylht at gmail dot com
2021-08-16 11:26 ` [Bug tree-optimization/101932] " rguenth at gcc dot gnu.org
2021-08-29 8:35 ` 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).