summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Mitrofanov <BugMaster@narod.ru>2014-02-14 13:53:58 +0200
committerHenrik Gramner <henrik@gramner.com>2015-08-05 16:15:40 +0200
commit8db0f71b49a360dd64ae482fa4244db055f117eb (patch)
treea16876d5fa59cac58c61d1bdb69153d8dbf5c537
parente740659a5d371dff11616e23da0be50a4cd59761 (diff)
x86inc: warn if XOP integer FMA instruction emulation is impossible
Signed-off-by: Henrik Gramner <henrik@gramner.com>
-rw-r--r--libavutil/x86/x86inc.asm4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavutil/x86/x86inc.asm b/libavutil/x86/x86inc.asm
index 76fcec45b0..6ad9785536 100644
--- a/libavutil/x86/x86inc.asm
+++ b/libavutil/x86/x86inc.asm
@@ -1437,9 +1437,11 @@ AVX_INSTR pfmul, 3dnow, 1, 0, 1
%macro %1 4-7 %1, %2, %3
%if cpuflag(xop)
v%5 %1, %2, %3, %4
- %else
+ %elifnidn %1, %4
%6 %1, %2, %3
%7 %1, %4
+ %else
+ %error non-xop emulation of ``%5 %1, %2, %3, %4'' is not supported
%endif
%endmacro
%endmacro