On 04/11/2017 04:20 PM, Dominik Vogt wrote: > On Mon, Mar 27, 2017 at 09:27:35PM +0100, Dominik Vogt wrote: >> The attached patch optimizes the atomic_exchange and >> atomic_compare patterns on s390 and s390x (mostly limited to >> SImode and DImode). Among general optimizaation, the changes fix >> most of the problems reported in PR 80080: >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80080 >> >> Bootstrapped and regression tested on a zEC12 with s390 and s390x >> biarch. > > v5: > * Generate LT pattern directly for const 0 value. > * Split into three patches. > > Bootstrapped and regression tested on a zEC12 with s390 and s390x > biarch.
Applied to mainline. Thanks! -Andreas-