[ARM][PR target/78945] Fix libatomic on armv7-m
authorSzabolcs Nagy <szabolcs.nagy@arm.com>
Mon, 30 Jan 2017 11:34:13 +0000 (11:34 +0000)
committerSzabolcs Nagy <nsz@gcc.gnu.org>
Mon, 30 Jan 2017 11:34:13 +0000 (11:34 +0000)
commit87c45ec798cfdbc784806fed96e5f20a105793e5
tree83f4471834a33ea8d682b38a4d7a415382de1f0c
parentab4be5d1be0007a26492a98d268075d43a01b1f0
[ARM][PR target/78945] Fix libatomic on armv7-m

ARM libatomic inline asm uses sel, uadd8, uadd16 instructions
which are only available if __ARM_FEATURE_SIMD32 is defined.

libatomic/
2017-01-30  Szabolcs Nagy  <szabolcs.nagy@arm.com>

PR target/78945
* config/arm/exch_n.c (libat_exchange): Check __ARM_FEATURE_SIMD32.

From-SVN: r245023
libatomic/ChangeLog
libatomic/config/arm/exch_n.c