This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r248793 - in /branches/ARM/embedded-6-branch/gc...
- From: thopre01 at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 01 Jun 2017 15:44:31 -0000
- Subject: r248793 - in /branches/ARM/embedded-6-branch/gc...
Author: thopre01
Date: Thu Jun 1 15:44:31 2017
New Revision: 248793
URL: https://gcc.gnu.org/viewcvs?rev=248793&root=gcc&view=rev
Log:
[ARM] Set mode for success result of atomic compare and swap
2017-06-01 Thomas Preud'homme <thomas.preudhomme@arm.com>
Backport from mainline
2017-05-03 Thomas Preud'homme <thomas.preudhomme@arm.com>
gcc/
* config/arm/iterators.md (CCSI): New mode iterator.
(arch): New mode attribute.
* config/arm/sync.md (atomic_compare_and_swap<mode>_1): Rename into ...
(atomic_compare_and_swap<CCSI:arch><NARROW:mode>_1): This and ...
(atomic_compare_and_swap<CCSI:arch><SIDI:mode>_1): This. Use CCSI
code iterator for success result mode.
* config/arm/arm.c (arm_expand_compare_and_swap): Adapt code to use
the corresponding new insn generators.
Modified:
branches/ARM/embedded-6-branch/gcc/ChangeLog.arm
branches/ARM/embedded-6-branch/gcc/config/arm/arm.c
branches/ARM/embedded-6-branch/gcc/config/arm/iterators.md
branches/ARM/embedded-6-branch/gcc/config/arm/sync.md