OSDN Git Service

rx: Replace sat builtin with ssaddsi3 pattern.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Jan 2011 18:18:24 +0000 (18:18 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 17 Jan 2011 18:18:24 +0000 (18:18 +0000)
commitcefd18faa5b8cb867039cebce770e29518c96b45
tree8681175cc31c180190b4eb6e6854f2044b49208b
parentf0fcb36dbb56116c6d40d0fb1ae03d298241ef55
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168928 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/rx/rx.c
gcc/config/rx/rx.md