predicates.md (rx_minmax_operand): New predicate.
authorNick Clifton <nickc@gcc.gnu.org>
Wed, 28 Sep 2011 14:37:30 +0000 (14:37 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 28 Sep 2011 14:37:30 +0000 (14:37 +0000)
commit783465f8e32d04d92b802bb902f9e65cabeddaa6
tree9916d9a539e45075c1ae0c85de0801dcd97d6724
parent2996d8c3320a909bf339aa513fc76f6abf91e9b7
predicates.md (rx_minmax_operand): New predicate.

* config/rx/predicates.md (rx_minmax_operand): New predicate.
Accepts immediates and a restricted subset of MEMs.
* config/rx/rx.md (int_modes): New iterator.
(smaxsi3, sminsi3): Delete and replace with...
(smax<int_mode>3, smin<int_mode>3): New patterns.
(umax<>3_u, umax<>3_ur, umax<>3, umin<>3): New patterns.

From-SVN: r179315
gcc/ChangeLog
gcc/config/rx/predicates.md
gcc/config/rx/rx.md