[Bug target/70708] Suboptimal code generated when using _mm_set_sd (X64)
rguenth at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Apr 18 13:32:00 GMT 2016
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70708
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
double MyMinV2(double a, double b) {
double undef = undef;
__m128d x;
__m128d y;
asm ("" : "=x" (x) : "0" (a));
asm ("" : "=x" (y) : "0" (b));
return _mm_cvtsd_f64(_mm_min_sd(x, y));
}
works though.
More information about the Gcc-bugs
mailing list