https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88474
Segher Boessenkool <segher at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |REOPENED CC| |segher at gcc dot gnu.org Resolution|FIXED |--- --- Comment #4 from Segher Boessenkool <segher at gcc dot gnu.org> --- It isn't implemented for any other targets yet. When I use __builtin_hypot with -ffast-math (I tried on powerpc64-linux) I get a call to __hypot_finite, instead of just three machine instructions, like e.g. fmul 2,2,2 fmadd 1,1,1,2 fsqrt 1,1 which is what you get for double hypot(double x, double y) { return __builtin_sqrt(x*x + y*y); } Reopened. (Or do you want this PR to be just for x87? If so, why?)