[lkml]   [1997]   [Feb]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Pentium memcpy patch. Unintended effect?
Chad Page ( wrote:

: On Fri, 7 Feb 1997 wrote:

: >
: > I patched and compiled 2.1.25 with the Pentium memcpy patch. Everything
: > works fine, except for Quake. Now, Quake runs a fair bit choppier.
: >
: > I'm not really concerned about Quake. I'm more concerned whether this is
: > some kind of defect in my hardware, or simply a side effect of the design
: > of Quake. The latter seems more likely.

: Quake *heavily* uses the FPU, and from what Ted just said it would
: sound like the pentium memcpy patch would affect Quake since the floating
: point registers would be swapped every time pentium memcpy is used. This
: is also similar to why Carmack won't use MMX instructions in quake :)

Shouldn't the threshold for when the FPU registers will be used for
mempcy() be tuneable, then, so that on a system that runs FP-intensive
code, the fancy memcpy will only be done when it is faster *including
the extra context switch time*?

-- Dave Hinds

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