diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-08 15:00:06 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-11 21:08:04 +0200 |
commit | 29c4c0886d143790fcbeddbe40a23dfc6f56345c (patch) | |
tree | ded9f033c60fe05d034728fcd4def76439d8496e /libavutil/x86 | |
parent | a54e53a1c428299b19c7b4e2b66d01c0482c41dd (diff) | |
download | ffmpeg-29c4c0886d143790fcbeddbe40a23dfc6f56345c.tar.gz |
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>
Diffstat (limited to 'libavutil/x86')
-rw-r--r-- | libavutil/x86/intreadwrite.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavutil/x86/intreadwrite.h b/libavutil/x86/intreadwrite.h index 4061d19231..40f375b013 100644 --- a/libavutil/x86/intreadwrite.h +++ b/libavutil/x86/intreadwrite.h @@ -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) { |