diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-14 13:25:20 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-14 13:25:20 +0000 |
commit | 38349bcac8e2a1d476e0900f9fcadf0321c1d316 (patch) | |
tree | d93b502e5df79498bc73ad5bda9b1e69df952b5f /cpudetect.c | |
parent | 502368c206107a101d6c982119e952fa3814ad02 (diff) | |
download | mpv-38349bcac8e2a1d476e0900f9fcadf0321c1d316.tar.bz2 mpv-38349bcac8e2a1d476e0900f9fcadf0321c1d316.tar.xz |
Remove test for SSE exception support that has been commented out since ages.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24457 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'cpudetect.c')
-rw-r--r-- | cpudetect.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/cpudetect.c b/cpudetect.c index 4ceb2b5564..f89c33dfd2 100644 --- a/cpudetect.c +++ b/cpudetect.c @@ -441,31 +441,6 @@ static void check_os_katmai_support( void ) } } - /* Emulate test for OSXMMEXCPT in CR4. The OS will set this bit if - * it supports unmasked SIMD FPU exceptions. If we unmask the - * exceptions, do a SIMD divide-by-zero and get a SIGILL, the OS - * doesn't support unmasked SIMD FPU exceptions. If we get a SIGFPE - * as expected, we're okay but we need to clean up after it. - * - * Are we being too stringent in our requirement that the OS support - * unmasked exceptions? Certain RedHat 2.2 kernels enable SSE by - * setting CR4.OSFXSR but don't support unmasked exceptions. Win98 - * doesn't even support them. We at least know the user-space SSE - * support is good in kernels that do support unmasked exceptions, - * and therefore to be safe I'm going to leave this test in here. - */ - if ( gCpuCaps.hasSSE ) { - mp_msg(MSGT_CPUDETECT,MSGL_V, "Testing OS support for SSE unmasked exceptions... " ); - -// test_os_katmai_exception_support(); - - if ( gCpuCaps.hasSSE ) { - mp_msg(MSGT_CPUDETECT,MSGL_V, "yes.\n" ); - } else { - mp_msg(MSGT_CPUDETECT,MSGL_V, "no!\n" ); - } - } - /* Restore the original signal handlers. */ sigaction( SIGILL, &saved_sigill, NULL ); |