HEADS DOWN

Kostik Belousov kostikbel at gmail.com
Sun May 6 04:50:45 UTC 2007


On Sun, May 06, 2007 at 10:59:23AM +1000, Bruce Evans wrote:
> The setup overhead for using string instructions may be much larger than
> the 14-16 in the above table.  It is also necessary to set the direction
> flag and maybe to shuffle registers so as to use the registers required
> by the string instructions.  cld/std is fast enough on Athlons (1/2
> cycles) but is slow on Pentium4 and later (IIRC, 43 cycles for std on
> one Pentium model).
gcc 4.3 claims to not issue cld instruction anymore (ABI requires direction
flag to be clear since eon).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20070506/71ac6fc9/attachment.pgp


More information about the freebsd-arch mailing list