summaryrefslogtreecommitdiff
path: root/libavcodec/x86/mathops.h
Commit message (Collapse)AuthorAge
* x86: Put COPY3_IF_LT under HAVE_6REGSLuca Barbato2015-03-17
| | | | | | | It uses 6 registers, unbreaks building on hardened x86 system. Bug-Id: gentoo/541930 CC: libav-stable@libav.org
* mathops/x86: work around inline asm miscompilation with GCC 4.8.1Hendrik Leppkes2013-09-15
| | | | | | | | The volatile is not required here, and prevents a miscompilation with GCC 4.8.1 when building on x86 with --cpu=i686 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* configure: Rename cmov processor capability to i686Diego Biurrun2013-05-12
| | | | | The goal is to make the capapility slightly more general and have it cover the availability of the nopl instruction in addition to cmov.
* Move MASK_ABS macro to libavcodec/mathops.hMans Rullgard2012-08-09
| | | | | | | | | | | | This macro is only used in two places, both in libavcodec, so this is a more sensible place for it. Two small tweaks to the macro are made: - removing the trailing semicolon - dropping unnecessary 'volatile' from the x86 asm Signed-off-by: Mans Rullgard <mans@mansr.com>
* x86: place some inline asm under #if HAVE_INLINE_ASMRonald S. Bultje2012-06-25
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* Replace FFmpeg with Libav in licence headersMans Rullgard2011-03-19
| | | | Signed-off-by: Mans Rullgard <mans@mansr.com>
* mathops: fix MULL() when the compiler does not inline the function.Justin Ruggles2011-03-15
| | | | | | | If the function is not inlined, an immmediate cannot be used for the shift parameter, so the %cl register must be used instead in that case. This fixes compilation for x86-32 using gcc with --disable-optimizations.
* mathops: change "g" constraint to "rm" in x86-32 version of MUL64().Justin Ruggles2011-03-15
| | | | | The 1-arg imul instruction cannot take an immediate argument, only a register or memory argument.
* mathops: convert MULL/MULH/MUL64 to inline functions rather than macros.Justin Ruggles2011-03-15
| | | | | | This fixes unexpected name collisions that were occurring with variables declared within the macros. It also fixes the fate-acodec-ac3_fixed regression test on x86-32.
* Adding missing () to mathops.h.Michael Niedermayer2010-05-11
| | | | Originally committed as revision 23083 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move NEG_[US]SR32 macros to mathops.hMåns Rullgård2010-02-17
| | | | Originally committed as revision 21873 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Move COPY3_IF_LT to lavc/mathops.hMåns Rullgård2010-01-20
| | | | | | | | This obscure macro is only used in motion_est.c so having it in lavc makes more sense. See discussion here: http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/2008-November/056561.html Originally committed as revision 21346 to svn://svn.ffmpeg.org/ffmpeg/trunk
* re-enable mid_pred asm on x86_64. (broke in r16681)Loren Merritt2009-02-08
| | | | Originally committed as revision 17058 to svn://svn.ffmpeg.org/ffmpeg/trunk
* moves mid_pred() into mathops.h (with arch specific code split by directory)Aurelien Jacobs2009-01-18
| | | | Originally committed as revision 16681 to svn://svn.ffmpeg.org/ffmpeg/trunk
* Rename libavcodec/i386/ --> libavcodec/x86/.Diego Biurrun2008-12-22
It contains optimizations that are not specific to i386 and libavutil uses this naming scheme already. Originally committed as revision 16270 to svn://svn.ffmpeg.org/ffmpeg/trunk