[lkml]   [2000]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Question: Using floating point in the kernel
In article <> 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.

Arjan van de Ven

< The test program is available at >
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:38    [W:0.086 / U:0.712 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site