Jiaxun Yang <jiaxun.y...@flygoat.com> 于2023年4月28日周五 20:36写道: > > > > > 2023年4月28日 13:33,YunQiang Su <yunqiang...@cipunited.com> 写道: > > > > 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 > > variable. > > (mips_init_libfuncs): Initialize it. > > (mips_emit_speculation_barrier): New function. > > * config/arm/arm.md (speculation_barrier): Call > > mips_emit_speculation_barrier. > > ^ arm? Typo. >
ohhh. You are right. I copied the commit message from: https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=ebdb6f237772df251378d2c08350d345135bcb9e New patch will be send. > Thanks > Jiaxun