On 2021-04-12 21:44 -0400, Michael Shell wrote: > On Fri, 9 Apr 2021 10:46:30 -0400 > Chris Fowler <linx...@gmail.com> wrote: > > > I am fully aware that other OSS packages could use CMOV with inline > > assembly. I'm just wanting GCC to forget it even exists when it tries to > > implement CMOV during -03 optimization. > > > I think the most correct approach for your CPU is just to invoke > > -march=i586 > > to avoid the use of CMOV: > > https://clfs-support.cross-lfs.narkive.com/x1E4tLvU/i586-target-with-cmov
You shouldn't need that. If you need this, it means your GCC is misconfigured. It may happen if you specify a wrong --with-arch value, or config.guess outputed i686-pc-linux-gnu (which is wrong on 586). I don't have an i586 so I can't test config.guess on it. You can try to run it. If it outputs i686, you can manually override it and report this as a bug, to config.guess maintainers (not GCC maintainers: config.guess is a seperated project at https://git.savannah.gnu.org/gitweb/?p=config.git). -- Xi Ruoyao <xry...@mengyan1223.wang> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style