[Bug c/54408] sqrt for vector types

2019-01-16 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=54408 --- Comment #4 from Richard Biener --- __builtin_tg_sqrt () maybe. The difficulty is in expected behavior for "standard" -O[0] when you supply vector arguments. I think the most "convenient" thing to do is to say that __builtin_tg_sqrt () when

[Bug c/54408] sqrt for vector types

2012-09-06 Thread glisse at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54408 --- Comment #3 from Marc Glisse glisse at gcc dot gnu.org 2012-09-06 15:04:53 UTC --- Thanks for the explanations. One goal would be, in C++, to be able to write a single function template: templateclass T T f(T x){return x+sqrt(x);} which

[Bug c/54408] sqrt for vector types

2012-09-03 Thread rguenth at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54408 Richard Guenther rguenth at gcc dot gnu.org changed: What|Removed |Added Status|UNCONFIRMED |NEW Last

[Bug c/54408] sqrt for vector types

2012-09-03 Thread joseph at codesourcery dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54408 --- Comment #2 from joseph at codesourcery dot com joseph at codesourcery dot com 2012-09-03 15:47:38 UTC --- Built-in mathematical functions are generally type-generic where they correspond to type-generic math.h macros (e.g. isgreater, isnan),