Next: , Previous: , Up: Machine Desc   [Contents][Index]


17.14 Canonicalization of Instructions

There are often cases where multiple RTL expressions could represent an operation performed by a single machine instruction. This situation is most commonly encountered with logical, branch, and multiply-accumulate instructions. In such cases, the compiler attempts to convert these multiple RTL expressions into a single canonical form to reduce the number of insn patterns required.

In addition to algebraic simplifications, following canonicalizations are performed:

Further canonicalization rules are defined in the function commutative_operand_precedence in gcc/rtlanal.c.


Next: , Previous: , Up: Machine Desc   [Contents][Index]