Re: [PATCH v2] MIPS: add speculation_barrier support

2023-05-07 Thread Jiaxun Yang via Gcc-patches
> 2023年5月7日 18:34,Maciej W. Rozycki 写道: > > On Wed, 3 May 2023, Jiaxun Yang wrote: > >> Since it’s possible to run R2- binary on R2+ processor, we’d better find a >> semantic that do eliminate speculation on all processors. While SSNOPs >> on R2+ proce

Re: [PATCH v2] MIPS: add speculation_barrier support

2023-05-03 Thread Jiaxun Yang via Gcc-patches
> 2023年5月3日 22:04,Maciej W. Rozycki 写道: > > On Wed, 3 May 2023, Richard Sandiford wrote: > >>> speculation_barrier for MIPS needs sync+jr.hb (r2+), >>> so we implement __speculation_barrier in libgcc, like arm32 does. >> >> Looks reasonable, but do you have a source for the fallback >>

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

Re: [MIPS] GCC: Fix Loongson3 LLSC Errata

2019-09-30 Thread Jiaxun Yang
, should we also use that naming in toolchain? Thanks. -- Jiaxun Yang This patch also add a configure options --with-mips-fix-loongson3-llsc=[yes|no] to enable fix-loongson3-llsc by config. >From 16f0fd9e32d2098637dc0eb3e576444c48c43f22 Mon Sep 17 00:00:00 2001 From: Chenghua Xu Date: Fr