Re: [PATCH/RFC] rs6000: Disable HTM for Power10 and later

2020-11-26 Thread Segher Boessenkool
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

[PATCH/RFC] rs6000: Disable HTM for Power10 and later

2020-11-26 Thread Kewen.Lin via Gcc-patches
Hi, 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 opti