#include <stdlib.h>
#include <ctype.h>
#include <errno.h>
-#include <emmintrin.h>
/*********** Macros to eliminate unused variable warnings ********/
/*********** Other general functions / macros ********/
+#ifdef __SSE2__
+#include <emmintrin.h>
/**
* PAUSE instruction for tight loops (avoid busy waiting)
*/
{
_mm_pause();
}
+#else
+static inline void
+rte_pause(void) {}
+#endif
/**
* Searches the input parameter for the least significant set bit