File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed
runtime/libpgmath/lib/common Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 1212
1313#if defined(__AVX__ )
1414double
15- __mth_i_dceil_avx (double x )
15+ __mth_i_dceil (double x )
1616{
1717 return _mm_cvtsd_f64 (_mm_ceil_sd (_mm_set1_pd (x ), _mm_set1_pd (x )));
1818}
1919#elif defined(__SSE4_1__ )
2020double
21- __mth_i_dceil_sse (double x )
21+ __mth_i_dceil (double x )
2222{
2323 return _mm_cvtsd_f64 (_mm_ceil_sd (_mm_set1_pd (x ), _mm_set1_pd (x )));
2424}
Original file line number Diff line number Diff line change 1212
1313#if defined(__AVX__ )
1414double
15- __mth_i_dfloor_avx (double x )
15+ __mth_i_dfloor (double x )
1616{
1717 return _mm_cvtsd_f64 (_mm_floor_sd (_mm_set1_pd (x ), _mm_set1_pd (x )));
1818}
1919#elif defined(__SSE4_1__ )
2020double
21- __mth_i_dfloor_sse (double x )
21+ __mth_i_dfloor (double x )
2222{
2323 return _mm_cvtsd_f64 (_mm_floor_sd (_mm_set1_pd (x ), _mm_set1_pd (x )));
2424}
Original file line number Diff line number Diff line change 1212
1313#if defined(__AVX__ )
1414float
15- __mth_i_floor_avx (float x )
15+ __mth_i_floor (float x )
1616{
1717 return _mm_cvtss_f32 (_mm_floor_ss (_mm_set1_ps (x ), _mm_set1_ps (x )));
1818}
1919#elif defined(__SSE4_1__ )
2020float
21- __mth_i_floor_sse (float x )
21+ __mth_i_floor (float x )
2222{
2323 return _mm_cvtss_f32 (_mm_floor_ss (_mm_set1_ps (x ), _mm_set1_ps (x )));
2424}
You can’t perform that action at this time.
0 commit comments