From 0cff5836c3f410136e3fdb3e2f9e24bb81dd9a87 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 19 Apr 2014 17:09:24 +0200 Subject: Remove CPU detection and inline asm handling Not needed anymore. I'm not opposed to having asm, but inline asm is too much of a pain, and it was planned long ago to eventually get rid fo all inline asm uses. For the note, the inline asm use that was removed with the previous commits was almost worthless. It was confined to video filters, and most video filtering is now done with libavfilter. Some mpv filters (like vf_pullup) actually redirect to libavfilter if possible. If asm is added in the future, it should happen in the form of external files. --- waftools/fragments/ebx.c | 12 ------------ 1 file changed, 12 deletions(-) delete mode 100644 waftools/fragments/ebx.c (limited to 'waftools/fragments') diff --git a/waftools/fragments/ebx.c b/waftools/fragments/ebx.c deleted file mode 100644 index b487939c56..0000000000 --- a/waftools/fragments/ebx.c +++ /dev/null @@ -1,12 +0,0 @@ -int main(void) { - int x; - __asm__ volatile( - "xor %0, %0" - :"=b"(x) - // just adding ebx to clobber list seems unreliable with some - // compilers, e.g. Haiku's gcc 2.95 - ); - // and the above check does not work for OSX 64 bit... - __asm__ volatile("":::"%ebx"); - return 0; -} -- cgit v1.2.3