Feature request: RolWithCarry, RorWithCarry intrinsic functions
Original Reporter info from Mantis: jamie @jamie
-
Reporter name: jamie philbrook
Original Reporter info from Mantis: jamie @jamie
- Reporter name: jamie philbrook
Description:
Would like some overloaded functions of direct names, what ever is more logical for the compiler intrinsic wise to be able to have a Rol function with a carray bit..
so in short a 9 bit Byte for example, the extra bit being the carry over..
Example of the function protocol
RoRWordWithCarry(Const TheInputValue, Var TheCarryBit:Boolean;):Word;
The Carry bit will be used to Roll In the upper bit if set and also be set on exit of the function to represent the results of the output bit (LSB)
These functions can be used in a much more efficient way to shift large maps of data, images, large bit fields for example..
Of course we need all the variants and they should be intrinsic ..
Please consider..
Mantis conversion info:
- Mantis ID: 38341
- Build: current.