25.11.2011 21:00, Tomas Hajny пишет:
Isn't the fact that it's missing in i386-linux RTL more an omission of the
respective platform maintainer rather than a hint that it might be
specific to Windows (and specifically to old Windows)?
Extending my previous comment after digging a bit more:
1) Google reveals
(http://us.generation-nt.com/update-amd-athlon-opteron-athlon64-prefetch-errata-help-182678371.html)
Yep. Just search for 'AMD Athlon errata', not for 'AMD prefetch bug' :)
that current Linux kernel includes a workaround for this problem (I was
able to find the concrete kernel source file with the workaround also).
Apparently, the problem was discovered in 2003 (already in 2.6.x Linux
kernel series). This means that any operating systems / kernels older than
that may suffer. I have no clue whether Microsoft included a fix into one
of their later Windows versions / service packs, nor whether it might have
been fixed for other operating systems (and since when).
Patch for kernel 2.4 is mentioned on that page, too. Together with 2.6 it probably covers all
possible x86 Linux kernels that FPC can compile for.
Sergei
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel