diff options
author | Jason Garrett-Glaser <jason@x264.com> | 2012-11-12 22:28:53 +0400 |
---|---|---|
committer | Derek Buitenhuis <derek.buitenhuis@gmail.com> | 2013-10-14 15:41:54 +0400 |
commit | c6908d6b4b377a04a5d055ba874bdbcf06c80497 (patch) | |
tree | 36dae3fc201e1eaf412fe3894d0c54e22fb82af7 /libavutil/x86/x86util.asm | |
parent | 206895708ea2b464755d340e44501daf9a07c310 (diff) |
x86inc: FMA3/4 Support
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavutil/x86/x86util.asm')
-rw-r--r-- | libavutil/x86/x86util.asm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/x86/x86util.asm b/libavutil/x86/x86util.asm index bfe7a23202..11779cf07f 100644 --- a/libavutil/x86/x86util.asm +++ b/libavutil/x86/x86util.asm @@ -668,7 +668,9 @@ ; Wrapper for non-FMA version of fmaddps %macro FMULADD_PS 5 - %ifidn %1, %4 + %if cpuflag(fma3) || cpuflag(fma4) + fmaddps %1, %2, %3, %4 + %elifidn %1, %4 mulps %5, %2, %3 addps %1, %4, %5 %else |