This is the mail archive of the gcc-cvs@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]

r248794 - in /branches/ARM/embedded-7-branch/gc...


Author: thopre01
Date: Thu Jun  1 16:01:12 2017
New Revision: 248794

URL: https://gcc.gnu.org/viewcvs?rev=248794&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-7-branch/gcc/ChangeLog.arm
    branches/ARM/embedded-7-branch/gcc/config/arm/arm.c
    branches/ARM/embedded-7-branch/gcc/config/arm/iterators.md
    branches/ARM/embedded-7-branch/gcc/config/arm/sync.md


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