Added FillRaster enhancement note

This commit is contained in:
Andy McFadden 2015-08-21 16:55:01 -07:00
parent 5a0dcf327e
commit e4a103a049
1 changed files with 6 additions and 0 deletions

View File

@ -691,6 +691,12 @@ Some of the inner loops are almost certainly paying an extra cycle to
cross a page boundary. That's not easy to fix without adding absurd
amounts of padding.
The core FillRaster unrolled loop works for color or black & white,
but the latter doesn't require bit-flipping for odd/even bytes. Having
a second loop would allow 8 cycles per byte rather than 10 when the
color is black or white, and would avoid the overhead incurred by
color changes (which must rewrite the EORs), for a cost of ~120 bytes.
"USE_FAST" could be applied more aggressively to reduce the size.
Having "fast" vs. "small" builds was mostly an experiment to see how