aboutsummaryrefslogtreecommitdiffhomepage
path: root/waftools/fragments
diff options
context:
space:
mode:
authorGravatar wm4 <wm4@nowhere>2014-04-19 17:09:24 +0200
committerGravatar wm4 <wm4@nowhere>2014-04-19 17:10:56 +0200
commit0cff5836c3f410136e3fdb3e2f9e24bb81dd9a87 (patch)
tree04d756999fb23a8fc83b161c950facce1fc30f8d /waftools/fragments
parent061c7eba9770ca5f29dd3c0e5b64a276feca30cc (diff)
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.
Diffstat (limited to 'waftools/fragments')
-rw-r--r--waftools/fragments/ebx.c12
1 files changed, 0 insertions, 12 deletions
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;
-}