diff options
| author | Michael Forney <mforney@mforney.org> | 2021-09-07 13:35:38 -0700 |
|---|---|---|
| committer | Michael Forney <mforney@mforney.org> | 2021-09-07 13:41:35 -0700 |
| commit | fefb82678bd82c02fd177e58170a7558df504b9c (patch) | |
| tree | 6f4d3ee8b786fbf0571f1b920cb547b21b8eea1f /probe | |
| parent | 9b4962ff1c89d5c3babd45e14542dba97d4ae74f (diff) | |
ffmpeg: Probe for inline asm and intrinsics
Diffstat (limited to 'probe')
| -rw-r--r-- | probe/HAVE_EMMINTRIN_H | 4 | ||||
| -rw-r--r-- | probe/HAVE_INLINE_ASM | 4 | ||||
| -rw-r--r-- | probe/HAVE_MMINTRIN_H | 4 | ||||
| -rw-r--r-- | probe/gen.lua | 3 |
4 files changed, 15 insertions, 0 deletions
diff --git a/probe/HAVE_EMMINTRIN_H b/probe/HAVE_EMMINTRIN_H new file mode 100644 index 00000000..290e5531 --- /dev/null +++ b/probe/HAVE_EMMINTRIN_H @@ -0,0 +1,4 @@ +#include <emmintrin.h> +int main(void) { + return 0; +} diff --git a/probe/HAVE_INLINE_ASM b/probe/HAVE_INLINE_ASM new file mode 100644 index 00000000..726c32f6 --- /dev/null +++ b/probe/HAVE_INLINE_ASM @@ -0,0 +1,4 @@ +int main(void) { + __asm__(""); + return 0; +} diff --git a/probe/HAVE_MMINTRIN_H b/probe/HAVE_MMINTRIN_H new file mode 100644 index 00000000..433c02ee --- /dev/null +++ b/probe/HAVE_MMINTRIN_H @@ -0,0 +1,4 @@ +#include <mmintrin.h> +int main(void) { + return 0; +} diff --git a/probe/gen.lua b/probe/gen.lua index d8c48958..f1463fa2 100644 --- a/probe/gen.lua +++ b/probe/gen.lua @@ -2,7 +2,10 @@ local function probe(var) build('probe', '$outdir/'..var, {'$dir/'..var, '|', '$basedir/scripts/probe.sh'}, {var=var}) end +probe('HAVE_EMMINTRIN_H') probe('HAVE_IMMINTRIN_H') +probe('HAVE_INLINE_ASM') +probe('HAVE_MMINTRIN_H') probe('HAVE__MM_MOVEMASK_EPI8') probe('HAVE__THREAD_LOCAL') probe('HAVE___BUILTIN_ASSUME_ALIGNED') |
