On Sat, 2022-02-12 at 11:11 +0800, xucheng...@loongson.cn wrote: > +mstrict-align > +Target Var(TARGET_STRICT_ALIGN) Init(0) > +Do not generate unaligned memory accesses.
Any update on the rational to make -mno-strict-align the default? Note that I'm not against this decision: I'm really not a fan of the "dinosaur" or "teaching tool" uarchs with no unaligned access support :). But you should really document this somewhere, for e. g. updating your arch spec, or cliam "any OS on LoongArch should emulate unaligned access if it's not supported by hardware". Maybe this is a little OT though. -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University