rx: Replace sat builtin with ssaddsi3 pattern.
authorRichard Henderson <rth@redhat.com>
Mon, 17 Jan 2011 18:18:24 +0000 (10:18 -0800)
committerRichard Henderson <rth@gcc.gnu.org>
Mon, 17 Jan 2011 18:18:24 +0000 (10:18 -0800)
commit784f69be19ef920218a7b05d6fb2569596864afb
tree8681175cc31c180190b4eb6e6854f2044b49208b
parentf033541c61c4d7ca041a52c842d9358841334017
rx: Replace sat builtin with ssaddsi3 pattern.

A standalone __builtin_rx_sat isn't implementable due to needing
to keep the flags live before reload.  Instead provide a saturating
add pattern, which hopefully will be pattern-matched by high-level
optimizations.

From-SVN: r168928
gcc/ChangeLog
gcc/config/rx/rx.c
gcc/config/rx/rx.md