Sunday, August 07, 2011

PDF slides completed for Chapters 17 and 18

PDF slides for Chapters 15 and 18 have been prepared and uploaded to http://seyfarth.tv/asm for readers to download. Chapter 17 is about counting 1 bits in an array.  It shows the effect of improved algorithms and shows a dramatic improvement when the popcnt instruction is used.

Chapter 18 is about the Sobel image filter.  A C version was written which processed 158 images per second. An assembly version was written operating in 14 Sobel results at once.  This processed 980 images per second, which was about 6.2 times as fast.

No comments: