22 #ifndef __LIBRETRO_SDK_MATH_FLOAT_MINMAX_H__ 23 #define __LIBRETRO_SDK_MATH_FLOAT_MINMAX_H__ 33 #include <emmintrin.h> 40 _mm_store_ss( &
a, _mm_min_ss(_mm_set_ss(
a),_mm_set_ss(
b)) );
42 #elif !defined(DJGPP) && (defined(__STDC_C99__) || defined(__STDC_C11__)) 52 _mm_store_ss( &
a, _mm_max_ss(_mm_set_ss(
a),_mm_set_ss(
b)) );
54 #elif !defined(DJGPP) && (defined(__STDC_C99__) || defined(__STDC_C11__))
#define INLINE
Definition: retro_inline.h:35
static INLINE float float_min(float a, float b)
Definition: float_minmax.h:37
GLboolean GLboolean GLboolean b
Definition: glext.h:6844
#define fmaxf(a, b)
Definition: math.h:29
#define MIN(x, y)
Definition: macros.h:65
static INLINE float float_max(float a, float b)
Definition: float_minmax.h:49
#define fminf(a, b)
Definition: math.h:30
#define MAX(x, y)
Definition: macros.h:69
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6844