From 220720af49790ed4b61079a0c8a99e33c7ae9fc9 Mon Sep 17 00:00:00 2001 From: Yvan Roux Date: Thu, 3 Dec 2015 19:48:09 +0100 Subject: gcc/ Backport from trunk r230222. 2015-11-12 Renlin Li * config/arm/arm.md (addsi3_compare_op2): Make the order of assembly pattern consistent with constraint order. Change-Id: Ic6ab8fc2f06b420d4ce51d35727891ad135c3066 --- gcc/config/arm/arm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index 4aa7234a4f5..84b04156cbe 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -747,8 +747,8 @@ "TARGET_32BIT" "@ adds%?\\t%0, %1, %2 - adds%?\\t%0, %1, %2 - subs%?\\t%0, %1, #%n2" + subs%?\\t%0, %1, #%n2 + adds%?\\t%0, %1, %2" [(set_attr "conds" "set") (set_attr "type" "alus_imm,alus_imm,alus_sreg")] ) -- cgit v1.2.3