https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102059
--- Comment #15 from Kewen Lin <linkw at gcc dot gnu.org> --- (In reply to Florian Weimer from comment #12) > (In reply to Richard Biener from comment #10) > > As of HTM it would make the testcase a user error - when using -mcpu=power10 > > it would require building with -mcpu=power8 -mno-htm? > > Or -mcpu=power8 should imply -mno-htm. It's not 100% compatible for sure, > but so is removing a feature from a later CPU that was present in an earlier > version and enabled by default in GCC. I suspect it's better to take the > compatibility hit at run time, rather than later at run time (once the users > get their hands on POWER10 hardware). Not sure if we faced similar situations before, both power8 and power9 support HTM, looking forward to the inputs from port maintainers and experts.