AVR [patch] Optimizing code generation for shift with compile time constant
Original Reporter info from Mantis: ccrause @ccrause
-
Reporter name: Christo Crause
Original Reporter info from Mantis: ccrause @ccrause
- Reporter name: Christo Crause
Description:
Attached please find a patch which optimizes code generation for expressions involving shift by compile time constant. A discussion of the trade-off between a bit shift loop (existing general algorithm), loop unrolling and byte moving in terms of speed and code size as implemented in the patch can be found here: https://github.com/ccrause/freepascal/wiki/Optimizing-code-generation-for-shift-with-compile-time-constant
Mantis conversion info:
- Mantis ID: 36095
- Version: 3.3.1
- Fixed in version: 3.3.1
- Fixed in revision: 43136 (#dd2d1bf6), 43169 (#5fc12500)
- Monitored by: » @d.ioannidis (Dimitrios Chr. Ioannidis), » @ccrause (Christo Crause)