Compiler optimization (was: 8086 (was Re: more talking to the press.))

From: Fred Cisin <cisin_at_xenosoft.com>
Date: Fri Nov 14 14:55:26 2003

[STOSB v STOSW]
On Fri, 14 Nov 2003, Hans Franke wrote:
> It almost doubles the speed, of course, if it's an odd

Are y'all talking about th 8086, the 8088, or the whole 8086 family?

On the 8086 and above, REP STOSW (properly aligned) is twice as fast as
REP STOSB or non-aligned REP STOSW.
On the 8088, there is little difference in speed. The 8 bit data path
makes ANY STOSW behave like a misaligned one.


--
Grumpy Ol' Fred     		cisin_at_xenosoft.com
Received on Fri Nov 14 2003 - 14:55:26 GMT

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:36:19 BST