2014-08-21 11:39 GMT+04:00 Dominik Vogt :
> One can define mode iterators for
>
> (define_mode_iterator ITER1 [DI SI HI])
> (define_mode_iterator ITER2 [SI HI QI])
>
> Is it possible to write something like this:
>
> (define_insn "foo"
> [(set (match_operand:ITER1 0 ...)
> ...
>
Maybe some can help me a little bit with machine descriptions.
Assuming there is a define_insn pattern "foo", and that
pattern takes two arguments. The first argument sould be of the
types DI, SI or HI, and the second argument is always half the
size of the first argument.
One can define mode ite