Next: , Up: Macros


12.22.1 Mode Macros

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

Mode macros 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.