This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[PATCH, ARM] List Cs and US constraints as being used
- From: "Thomas Preud'homme" <thomas dot preudhomme at arm dot com>
- To: <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 25 Aug 2015 16:52:11 +0800
- Subject: [PATCH, ARM] List Cs and US constraints as being used
- Authentication-results: sourceware.org; auth=none
Hi,
The header in gcc/config/arm/constraints.md list all the ARM-specific constraints defined and for which targets they are but miss a couple of them. This patch add the missing Cs and US constraints to the list.
Patch was tested by verifying that arm-none-eabi-gcc cross-compiler can still be build (ie the comment remains a comment).
diff --git a/gcc/config/arm/constraints.md b/gcc/config/arm/constraints.md
index 42935a4..2d9ffb8 100644
--- a/gcc/config/arm/constraints.md
+++ b/gcc/config/arm/constraints.md
@@ -21,7 +21,7 @@
;; The following register constraints have been used:
;; - in ARM/Thumb-2 state: t, w, x, y, z
;; - in Thumb state: h, b
-;; - in both states: l, c, k, q, US
+;; - in both states: l, c, k, q, Cs, Ts, US
;; In ARM state, 'l' is an alias for 'r'
;; 'f' and 'v' were previously used for FPA and MAVERICK registers.
Committed as obvious with the following ChangeLog entry:
2015-08-25 Thomas Preud'homme <thomas.preudhomme@arm.com>
* config/arm/constraints.md: Also list Cs and US ARM-specific
constraints as used.
Best regards,
Thomas