"Ronald S. Bultje" <[email protected]> writes: > From: "Ronald S. Bultje" <[email protected]> > > --- > configure | 3 +++ > libavutil/x86/cpu.c | 14 ++++++++++++++ > 2 files changed, 17 insertions(+) > > diff --git a/configure b/configure > index 598b33c..bb4d55f 100755 > --- a/configure > +++ b/configure > @@ -1126,6 +1126,7 @@ HAVE_LIST=" > posix_memalign > round > roundf > + rweflags > sched_getaffinity > sdl > sdl_video_size > @@ -2649,6 +2650,8 @@ EOF > check_code cc mmintrin.h "_mm_empty()" && enable mm_empty > check_code cc immintrin.h "_xgetbv(0)" && enable xgetbv > check_code cc intrin.h "int info[4]; _cpuid(info, 0)" && enable cpuid > +check_code cc intrin.h "unsigned int x = __readeflags(); __writeeflags(x)" && > + enable rweflags
I think it's safe to assume the presence of either of these intrinsics implies the other as well. -- Måns Rullgård [email protected] _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
