diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-14 16:13:53 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-14 16:13:57 +0200 |
commit | f9bef2bec9dc594d707a55b7dc3802b0291e109b (patch) | |
tree | 5d67c5ed26ec4a68b9ca3fd1feeb7df83993faf4 | |
parent | e3e0e3d0c913a55fd616d3c431859564dc0e9b79 (diff) | |
parent | a3fabc6cb389b14f73850033a55567efe725db31 (diff) | |
download | ffmpeg-f9bef2bec9dc594d707a55b7dc3802b0291e109b.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
x86: more AVX2 framework
Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavutil/x86/x86inc.asm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm index 07ed08f8be..420e293f68 100644 --- a/libavutil/x86/x86inc.asm +++ b/libavutil/x86/x86inc.asm @@ -1467,3 +1467,14 @@ FMA4_INSTR fnmsubpd, fnmsub132pd, fnmsub213pd, fnmsub231pd FMA4_INSTR fnmsubps, fnmsub132ps, fnmsub213ps, fnmsub231ps FMA4_INSTR fnmsubsd, fnmsub132sd, fnmsub213sd, fnmsub231sd FMA4_INSTR fnmsubss, fnmsub132ss, fnmsub213ss, fnmsub231ss + +; workaround: vpbroadcastq is broken in x86_32 due to a yasm bug +%if ARCH_X86_64 == 0 +%macro vpbroadcastq 2 +%if sizeof%1 == 16 + movddup %1, %2 +%else + vbroadcastsd %1, %2 +%endif +%endmacro +%endif |