From 8db0f71b49a360dd64ae482fa4244db055f117eb Mon Sep 17 00:00:00 2001 From: Anton Mitrofanov Date: Fri, 14 Feb 2014 13:53:58 +0200 Subject: x86inc: warn if XOP integer FMA instruction emulation is impossible Signed-off-by: Henrik Gramner --- libavutil/x86/x86inc.asm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3