This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 11/11] rs6000 - add speculation_barrier pattern
On Tue, Jul 31, 2018 at 05:01:02PM -0500, Bill Schmidt wrote:
> > On Jul 27, 2018, at 4:37 AM, Richard Earnshaw <richard.earnshaw@arm.com> wrote:
> > This patch reworks the existing rs6000_speculation_barrier pattern to
> > work with the new __builtin_sepculation_safe_value() intrinsic. The
> > change is trivial as it simply requires renaming the existing speculation
> > barrier pattern.
> >
> > So the total patch is to delete 14 characters!
> I can't ack the patch, but I am happy with it. Thank you for this work!
Looks fine to me, too. I'm sure someone has tested it by now, too ;-)
Okay for trunk. Thanks!
Segher
> > * config/rs6000/rs6000.md (speculation_barrier): Renamed from
> > rs6000_speculation_barrier.
> > * config/rs6000/rs6000.c (rs6000_expand_builtin): Adjust for
> > new barrier pattern name.