[PATCH v3] s390: Convert from sync to atomic optabs

Ulrich Weigand uweigand@de.ibm.com
Tue Aug 7 16:56:00 GMT 2012


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



More information about the Gcc-patches mailing list