avutil/x86/intreadwrite: Add ability to detect whether MMX code is used

It can be used to call emms_c() only when needed.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-09-08 15:00:06 +02:00
parent a54e53a1c4
commit 29c4c0886d
1 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,8 @@
#if !HAVE_FAST_64BIT && defined(__MMX__)
#define FF_COPY_SWAP_ZERO_USES_MMX
#define AV_COPY64 AV_COPY64
static av_always_inline void AV_COPY64(void *d, const void *s)
{