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/AARCH64] Fix -mcpu/arch=native support for LSE


Hi,
  The Linux kernel calls lse as atomics in /proc/cpuinfo.  We should
change aarch64-option-extensions.def to take that into account.

OK?  Bootstrapped and tested on aarch64-linux-gnu with no regressions
and tested with -mcpu=native on ThunderX T88 pass 2 with Linux 4.4 to
see if lse gets enabled.

Thanks,
Andrew Pinski

ChangeLog:
 * config/aarch64/aarch64-option-extensions.def (LSE): Change
FEAT_STRING to "atomics".

Attachment: fixlse.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]