r248793 - in /branches/ARM/embedded-6-branch/gc...
thopre01@gcc.gnu.org
thopre01@gcc.gnu.org
Thu Jun 1 15:44:00 GMT 2017
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
More information about the Gcc-cvs
mailing list