Re: [PATCH] MIPS: add speculation_barrier support

2023-04-28 Thread YunQiang Su
Jiaxun Yang 于2023年4月28日周五 20:36写道: > > > > > 2023年4月28日 13:33,YunQiang Su 写道: > > > > speculation_barrier for MIPS needs sync+jr.hb (r2+), > > so we implement __speculation_barrier in libgcc, like arm32 does. > > > > gcc/ChangeLog: > > * config/mips/mips-protos.h (mips_emit_speculation_barrier):

Re: [PATCH] MIPS: add speculation_barrier support

2023-04-28 Thread Jiaxun Yang via Gcc-patches
> 2023年4月28日 13:33,YunQiang Su 写道: > > speculation_barrier for MIPS needs sync+jr.hb (r2+), > so we implement __speculation_barrier in libgcc, like arm32 does. > > gcc/ChangeLog: > * config/mips/mips-protos.h (mips_emit_speculation_barrier): New >prototype. > * config/mips/mips.cc (sp

[PATCH] MIPS: add speculation_barrier support

2023-04-28 Thread YunQiang Su
speculation_barrier for MIPS needs sync+jr.hb (r2+), so we implement __speculation_barrier in libgcc, like arm32 does. gcc/ChangeLog: * config/mips/mips-protos.h (mips_emit_speculation_barrier): New prototype. * config/mips/mips.cc (speculation_barrier_libfunc): New static