[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2022-06-27 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #17 from jbeulich at suse dot com --- Largely the same is actually true for the RNDSCALEPH test added for the PR here.

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2022-06-27 Thread jbeulich at suse dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 jbeulich at suse dot com changed: What|Removed |Added CC||jbeulich at suse dot com ---

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2022-02-14 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 Hongtao.liu changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-11-09 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #14 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:b879d40a17ec0409f1a2cd9ab6134bb28f53eea8 commit r12-5079-gb879d40a17ec0409f1a2cd9ab6134bb28f53eea8 Author: liuhongt Date: Thu

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #13 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:a1f7ead09cd41d32e2fe902eb32e587c36e7 commit r12-4985-ga1f7ead09cd41d32e2fe902eb32e587c36e7 Author: liuhongt Date: Mon

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-11-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #12 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:2ad1e8081f4797a99a96b513ffe14c7305e9b3d8 commit r12-4984-g2ad1e8081f4797a99a96b513ffe14c7305e9b3d8 Author: liuhongt Date: Mon

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-11-04 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #11 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:22ce7382fccc15ce2355306b3f5be7afc00f81f4 commit r12-4881-g22ce7382fccc15ce2355306b3f5be7afc00f81f4 Author: liuhongt Date: Wed

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-10-28 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #10 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:84bcefdaf6d95e08cd980965098961289215 commit r12-4780-g84bcefdaf6d95e08cd980965098961289215 Author: liuhongt Date: Mon

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-10-25 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #9 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:1a07bc9cda77b1211e95ae295b30e46c0d9ee222 commit r12-4651-g1a07bc9cda77b1211e95ae295b30e46c0d9ee222 Author: liuhongt Date: Mon Oct

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-10-18 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #8 from Hongtao.liu --- (In reply to Richard Biener from comment #3) > There's related optimizations in convert () which should ideally move to > match.pd When i try to mov convert stuffs to match.pd, i find some "mismatch",

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-10-07 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #7 from CVS Commits --- The master branch has been updated by hongtao Liu : https://gcc.gnu.org/g:613196462a62a28de8414b9023ec2be9a29ac3dc commit r12-4242-g613196462a62a28de8414b9023ec2be9a29ac3dc Author: liuhongt Date: Fri Sep

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-09-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #6 from Hongtao.liu --- (In reply to Hongtao.liu from comment #5) > (gdb) p direct_internal_fn_supported_p (IFN_CEIL, type, OPTIMIZE_FOR_BOTH) > $110 = false > > (gdb) p direct_internal_fn_supported_p (IFN_SQRT, type,

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-09-24 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #5 from Hongtao.liu --- (gdb) p direct_internal_fn_supported_p (IFN_CEIL, type, OPTIMIZE_FOR_BOTH) $110 = false (gdb) p direct_internal_fn_supported_p (IFN_SQRT, type, OPTIMIZE_FOR_BOTH) $111 = true hmm, why?

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-09-23 Thread joseph at codesourcery dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #4 from joseph at codesourcery dot com --- Note that for fma this would only be valid for -funsafe-math-optimizations.

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-09-23 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #3 from Richard Biener --- There's related optimizations in convert () which should ideally move to match.pd

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-09-23 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 Andrew Pinski changed: What|Removed |Added Severity|normal |enhancement

[Bug middle-end/102464] Miss optimization for (_Float16) sqrtf ((float) f16)

2021-09-22 Thread crazylht at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102464 --- Comment #1 from Hongtao.liu --- Similar optimization also applies for fma fmax/fmin fabs ldexp ceil floor trunc round rint nearbyint copysign Since AVX512-FP16 has corresponding instructions.