gccint: Mode Iterators
1
1 17.23.1 Mode Iterators
1 ----------------------
1
1 Ports often need to define similar patterns for two or more different
1 modes. For example:
1
1 * If a processor has hardware support for both single and double
1 floating-point arithmetic, the 'SFmode' patterns tend to be very
1 similar to the 'DFmode' ones.
1
1 * If a port uses 'SImode' pointers in one configuration and 'DImode'
1 pointers in another, it will usually have very similar 'SImode' and
1 'DImode' patterns for manipulating pointers.
1
1 Mode iterators allow several patterns to be instantiated from one '.md'
1 file template. They can be used with any type of rtx-based construct,
1 such as a 'define_insn', 'define_split', or 'define_peephole2'.
1
Menu