This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH v3] s390: Convert from sync to atomic optabs
- From: "Ulrich Weigand" <uweigand at de dot ibm dot com>
- To: rth at redhat dot com (Richard Henderson)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Tue, 7 Aug 2012 18:55:55 +0200 (CEST)
- Subject: Re: [PATCH v3] s390: Convert from sync to atomic optabs
Richard Henderson wrote:
> [ This ought to be exactly the patch you bootstrapped. It does
> not include the SEQ follow-up. ]
>
> Split out s390_two_part_insv from s390_expand_cs_hqi to try
> harder to use bit insertion instructions in the CAS loop.
>
> Reorg s390_expand_insv to aid that. Try RISBG last, after other
> mechanisms have failed; don't require operands in registers for
> it but force them there instead. Try a limited form of ICM.
This looks good to me. Retested with no regressions.
Thanks,
Ulrich
--
Dr. Ulrich Weigand
GNU Toolchain for Linux on System z and Cell BE
Ulrich.Weigand@de.ibm.com