Next: , Up: Iterators


16.22.1 Mode Iterators

Ports often need to define similar patterns for two or more different modes. For example:

Mode iterators allow several patterns to be instantiated from one .md file template. They can be used with any type of rtx-based construct, such as a define_insn, define_split, or define_peephole2.