Hi!

On Thu, Nov 26, 2020 at 06:15:04PM +0800, Kewen.Lin wrote:
> During previous Power10 testing, I noticed that ISA 3.1 has
> dropped TM support.  I think we should not generate TM
> related instructions for Power10 and later, or no?
> 
> This patch is to turn off HTM support once we know the cpu
> setting is power10 or later, and warn something if the
> explicit option -mhtm is specified.

We currently enable OPTION_MASK_HTM in ISA_2_7_MASKS_SERVER (in
rs6000-cpus.def), and include that in all later CPUs/archs.

Could you fix it there instead?  Easiest and most obvious is to just
add HTM to the power8, power9, and powerpc64le entries.


Segher

Reply via email to