In article <[EMAIL PROTECTED]> you wrote: > On Wed, 20 Sep 2000, Timur Tabi wrote: > Well the code does a fnsave. Somebody never looked at the damn book! it > takes 143 clocks for this, plus at least 3 for fwait. Then it sets a > flag to let return code 'know' if the context has to be restored. This > code `exists` sort of like moss. I don't think it is ever executed and > if it is, you get to keep both broken pieces. +--------------------------+-------------+ | non-MMX clear_page | 2382 cycles | | MMX clear_page | 874 cycles | +--------------------------+-------------| | non-MMX copy_page | 4569 cycles | | MMX copy_page | 1748 cycles | +--------------------------+-------------+ (On a AMD Duron 700Mhz with 2 133Mhz DIMMs) The numbers above don't include the fnsave. But as you can see the 150 cycles you mention above are still worth it. Greetings, Arjan van de Ven < The test program is available at http://www.fenrus.demon.nl/athlon.c > - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/
- Re: Question: Using floating point in the kernel Richard B. Johnson
- Re: Question: Using floating point in the kernel Timur Tabi
- Re: Question: Using floating point in the kernel Matthias Andree
- Re: Question: Using floating point in the kernel Marcus Sundberg
- Re: Question: Using floating point in the kernel Rusty Russell
- Re: Question: Using floating point in the kernel Lyle Coder
- Re: Question: Using floating point in the kernel Timur Tabi
- Re: Question: Using floating point in the kern... Brian Gerst
- Re: Question: Using floating point in the kern... Richard B. Johnson
- Re: Question: Using floating point in the ... Alan Cox
- Re: Question: Using floating point in the ... Arjan van de Ven
- Re: Question: Using floating point in the kernel Ricky Beam
- Re: Question: Using floating point in the kern... Lyle Coder
- Re: Question: Using floating point in the ... John Alvord
- Re: Question: Using floating point in ... Andi Kleen
- Re: Question: Using floating poin... Alan Cox
- Re: Question: Using floating ... Andi Kleen
- Re: Question: Using floating ... Alan Cox
- Re: Question: Using floating ... Andi Kleen
- Re: Question: Using floating ... Richard B. Johnson
- Re: Question: Using floating point in the kern... Alan Cox