[lkml]   [2001]   [Jan]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Patch in this message
Subject[PATCH] Add CONFIG_X86_RUNTIME_XMM for 2.4.


Currently there is no way to get the support for the SSE2 exceptions compiled in
without getting the P3 memory barriers too. The SSE2 exception code correctly
checks all feature flags, but the memory barriers do not. This patch adds a
CONFIG_X86_RUNTIME_XMM, which enables the SSE2 code, but not the barriers (because
it would be too expensive to check at every barrier, and the old barriers work fine
for now so runtime patching is probably not worth it)

ATM there is no way to select the CONFIG_X86_RUNTIME_FXSR directly as a
CPU configuration, the user needs to add a statement to In the long
run I suspect we'll just need a couple of "GENERIC" cpu templates which e.g.
contain X86_RUNTIME_FXSR or X86_RUNTIME_XMM. Currently no predefined CPU
is truly generic if you don't want reduced functionality.

Please consider for 2.4.0-ac5+


--- linux-work/include/asm-i386/bugs.h-o Mon Jan 8 17:02:04 2001
+++ linux-work/include/asm-i386/bugs.h Mon Jan 8 17:30:29 2001
@@ -89,7 +89,7 @@
-#ifdef CONFIG_X86_XMM
+#if defined(CONFIG_X86_XMM) || defined(CONFIG_X86_RUNTIME_XMM)
if (cpu_has_xmm) {
printk(KERN_INFO "Enabling unmasked SIMD FPU exception support... ");
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at
 \ /
  Last update: 2005-03-22 12:52    [W:0.023 / U:0.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site