[Bug tree-optimization/109029] __builtin_signbit for 64bit fp does not vectorize

2023-03-31 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109029 --- Comment #9 from Hongtao.liu --- (In reply to Hongtao.liu from comment #8) > > > > One solution is handling it in ix86_builtin_vectorized_function just like > > other math functions which has different input/output sizes. > > Or extend vect

[Bug tree-optimization/109029] __builtin_signbit for 64bit fp does not vectorize

2023-03-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109029 --- Comment #8 from Hongtao.liu --- > > One solution is handling it in ix86_builtin_vectorized_function just like > other math functions which has different input/output sizes. Or extend vectorizable_call to handle NARROW/WIDEN cases when out

[Bug tree-optimization/109029] __builtin_signbit for 64bit fp does not vectorize

2023-03-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109029 --- Comment #7 from Hongtao.liu --- (In reply to Hongtao.liu from comment #6) > (In reply to Hongtao.liu from comment #5) > > We need to support signbit2 for vector double/_Float16. Also similar > > like popcnt, there's a mismatch of input and o

[Bug tree-optimization/109029] __builtin_signbit for 64bit fp does not vectorize

2023-03-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109029 --- Comment #6 from Hongtao.liu --- (In reply to Hongtao.liu from comment #5) > We need to support signbit2 for vector double/_Float16. Also similar > like popcnt, there's a mismatch of input and output between builtin and > signbit_optab, it co

[Bug tree-optimization/109029] __builtin_signbit for 64bit fp does not vectorize

2023-03-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109029 --- Comment #5 from Hongtao.liu --- We need to support signbit2 for vector double/_Float16. Also similar like popcnt, there's a mismatch of input and output between builtin and signbit_optab, it could be handled in vectorizer pattern match.

[Bug tree-optimization/109029] __builtin_signbit for 64bit fp does not vectorize

2023-03-30 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109029 --- Comment #4 from Hongtao.liu --- Also found a document missing for signbitm2 in md.texi.

[Bug tree-optimization/109029] __builtin_signbit for 64bit fp does not vectorize

2023-03-06 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109029 Richard Biener changed: What|Removed |Added Version|unknown |13.0 --- Comment #3 from Richard Biene

[Bug tree-optimization/109029] __builtin_signbit for 64bit fp does not vectorize

2023-03-05 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109029 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement Status|UNCONFIR