mpv/loader
wm4 74df1d8e05 Remove compile time/runtime CPU detection, and drop some platforms
mplayer had three ways of enabling CPU specific assembler routines:
a) Enable them at compile time; crash if the CPU can't handle it.
b) Enable them at compile time, but let the configure script detect
   your CPU. Your binary will only crash if you try to run it on a
   different system that has less features than yours.
   This was the default, I think.
c) Runtime detection.

The implementation of b) and c) suck. a) is not really feasible (it
sucks for users). Remove all code related to this, and use libav's CPU
detection instead. Now the configure script will always enable CPU
specific features, and disable them at runtime if libav reports them
not as available.

One implication is that now the compiler is always expected to handle
SSE (etc.) inline assembly at runtime, unless it's explicitly disabled.

Only checks for x86 CPU specific features are kept, the rest is either
unused or barely used.

Get rid of all the dump -mpcu, -march etc. flags. Trust the compiler
to select decent settings.

Get rid of support for the following operating systems:
- BSD/OS (some ancient BSD fork)
- QNX (don't care)
- BeOS (dead, Haiku support is still welcome)
- AIX (don't care)
- HP-UX (don't care)
- OS/2 (dead, actual support has been removed a while ago)

Remove the configure code for detecting the endianness. Instead, use
the standard header <endian.h>, which can be used if _GNU_SOURCE or
_BSD_SOURCE is defined. (Maybe these changes should have been in a
separate commit.)

Since this is a quite violent code removal orgy, and I'm testing only
on x86 32 bit Linux, expect regressions.
2012-07-30 01:37:28 +02:00
..
dmo cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
dshow cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
qtx/qtxsdk Remove QTX tests 2012-07-28 20:44:59 +02:00
wine cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
afl.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
com.h
debug.h
drv.c Rename get_path.[ch] --> path.[ch]. 2010-03-20 23:38:27 +00:00
drv.h Split codec path related code into a separate file to fix Windows build. 2010-03-18 20:44:01 +00:00
elfdll.c loader: Move local_wm extern variable declaration to loader.h 2010-11-02 04:16:46 +02:00
ext.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
ext.h
ldt_keeper.c build: remove OS/2 support 2012-04-06 17:45:56 +03:00
ldt_keeper.h loader: Move fs_seg extern variable declaration to ldt_keeper.h 2010-11-02 04:16:45 +02:00
loader.h loader: Move local_wm extern variable declaration to loader.h 2010-11-02 04:16:46 +02:00
module.c build: remove OS/2 support 2012-04-06 17:45:56 +03:00
pe_image.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
pe_resource.c
qt_comp_template.c loader: Rename loader/qt_comp.h --> loader/qt_comp_template.c 2010-11-02 04:10:48 +02:00
qt_fv.h
registry.c cleanup: Silence compilation warnings on MinGW-w64 2012-03-01 00:22:30 +02:00
registry.h
resource.c
vfl.c cosmetics: Remove some obsolete and misleading comments 2010-11-02 04:18:37 +02:00
win32.c Remove compile time/runtime CPU detection, and drop some platforms 2012-07-30 01:37:28 +02:00
win32.h
wineacm.h cosmetics: Remove vim/emacs coding style hints from sources 2010-11-02 04:16:48 +02:00
wrapper.S Merge svn changes up to r30514 2010-03-09 19:58:02 +02:00
wrapper.h