Hi Markus,
I was having the same problem getting the library compiled under
Win64. I originally wrote something very close to what you have. In
the end I ended up with the code below. It was faster, but not as
fast as 32-bit mode.
#ifdef _M_X64
#include <emmintrin.h>
static INLINE long lrintf(float f) {
return _mm_cvtss_si32(_mm_load_ss(&f));
}
#else
Colby