diff --git a/test_conformance/conversions/conversions_data_info.h b/test_conformance/conversions/conversions_data_info.h index 4f46a24e75..c62d11ae75 100644 --- a/test_conformance/conversions/conversions_data_info.h +++ b/test_conformance/conversions/conversions_data_info.h @@ -402,7 +402,11 @@ void DataInfoSpec::conv(OutType *out, InType *in) } else { +#if defined(_M_X64) _mm_store_sd(&result, _mm_cvtsi64_sd(_mm_setzero_pd(), l)); +#else + result = l; +#endif ((double *)out)[0] = (l == 0 ? 0.0 : result); // Per IEEE-754-2008 5.4.1, 0's // always convert to +0.0