[lkml]   [2003]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: TSCs are a no-no on i386
On Mer, 2003-07-30 at 17:58, Matthew Garrett wrote:
> g++ >=3.2 use 486-specific instructions in order to do atomic operations
> in C++ code. 3.3 includes a 386 version of the same code, but it's not
> possible to use a mixture of the two (ie, code compiled with a "486" g++
> will not work on the "386" version), and so to keep ABI compatibility
> with the other distributions it's necessary to break 386. The "obvious"
> solution (dragging this back on topic) is a kernel patch to emulate 486
> instructions on a 386.

You don't need to mash the kernel up for this - you can write yourself a
SIGILL handler to do the work - take a look at things like the pure
software MMX preloader someone wrote.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:47    [W:0.125 / U:0.024 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site