diff options
author | Kewen Lin <linkw@linux.ibm.com> | 2020-12-02 01:55:34 -0600 |
---|---|---|
committer | Kewen Lin <linkw@linux.ibm.com> | 2020-12-02 01:55:34 -0600 |
commit | 82800987cb3b22427a8799b3e8491eff496724b9 (patch) | |
tree | 54520e860d55b30126d5a2f5afb2f28461638b6a /gcc/expr.c | |
parent | 018248ef6d03ca0088d5928928f966df99af134c (diff) | |
download | gcc-82800987cb3b22427a8799b3e8491eff496724b9.zip gcc-82800987cb3b22427a8799b3e8491eff496724b9.tar.gz gcc-82800987cb3b22427a8799b3e8491eff496724b9.tar.bz2 |
rs6000: Disable HTM for Power10 and later by default
Power ISA 3.1 has dropped transactional memory support, this patch
is to disable HTM feature for power10 and later by default.
Bootstrapped/regtested on powerpc64le-linux-gnu P8 and P10.
gcc/ChangeLog:
* config/rs6000/rs6000.c (rs6000_option_override_internal):
Use OPTION_MASK_DIRECT_MOVE for Power8 target_enable instead
of OPTION_MASK_HTM.
* config/rs6000/rs6000-cpus.def (ISA_2_7_MASKS_SERVER):
Remove OPTION_MASK_HTM.
(RS6000_CPU): Add OPTION_MASK_HTM to power8, power9 and
powerpc64le entries.
Diffstat (limited to 'gcc/expr.c')
0 files changed, 0 insertions, 0 deletions