diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-14 17:53:46 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-14 17:54:23 +0400 |
commit | 9ac124c889a6b3a8472f3bdfda2c379cb4ddaefa (patch) | |
tree | 208aaba8c3b9eca0b79218520a559657cdd88acf /libavutil/x86/x86util.asm | |
parent | 12e4493f9c143f34e733a959059cea1a2ac664c5 (diff) | |
parent | 206895708ea2b464755d340e44501daf9a07c310 (diff) |
Merge commit '206895708ea2b464755d340e44501daf9a07c310'
* commit '206895708ea2b464755d340e44501daf9a07c310':
x86inc: Remove our FMA4 support
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil/x86/x86util.asm')
-rw-r--r-- | libavutil/x86/x86util.asm | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index 8908444950..01f306831c 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -665,3 +665,14 @@ psrad %1, 16 %endif %endmacro + +; Wrapper for non-FMA version of fmaddps +%macro FMULADD_PS 5 + %ifidn %1, %4 + mulps %5, %2, %3 + addps %1, %4, %5 + %else + mulps %1, %2, %3 + addps %1, %4 + %endif +%endmacro |