This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH, i386]: Fix PR59952, -march=core-avx2 should not enable RTM


Hello!

Apparently, not all Haswell processors have TSX. Attached patch
removes PTA_RTM from default Haswell flags. PTA_HLX still makes sense
for Haswell processors, since the prefix is ignored on non-TSX
processors.

2014-05-08  Uros Bizjak  <ubizjak@gmail.com>

    PR target/59952
    * config/i386/i386.c (PTA_HASWELL): Remove PTA_RTM.

Bootstrapped and regression tested on x86_64-pc-linux-gnu. The patch
is committed on mainline, will be backported to all relevant release
branches.

Uros.

Attachment: p.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]