摘要 |
A technique for constant bit folding, implemented by a compiler, logically processes only operand bits to generate bit sets useful for simplifying expressions. Bit sets indicating constant bits and constant bit values of the operands are generated and then logically processed to generate bit sets indicating constant bits and constant bit values of the results. Additionally, a bit set indicating operand bits that do not influence the result are generated.
|