Re: [PATCH v4] MIPS: add speculation_barrier support

2023-05-31 Thread Maciej W. Rozycki
On Wed, 31 May 2023, YunQiang Su wrote: > If no objection, I will commit this V4 patch. At first glance it has coding style issues. Maciej

Re: [PATCH v4] MIPS: add speculation_barrier support

2023-05-31 Thread YunQiang Su
YunQiang Su 于2023年5月12日周五 18:30写道: > > 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

[PATCH v4] MIPS: add speculation_barrier support

2023-05-12 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