[PATCH][ARM]Fix addsi3_compare_op2 pattern.

gcc/

2015-11-12  Renlin Li  <renlin.li@arm.com>

	* config/arm/arm.md (addsi3_compare_op2): Make the order of
	assembly pattern consistent with constraint order.

From-SVN: r230222
This commit is contained in:
Renlin Li 2015-11-12 10:14:35 +00:00 committed by Renlin Li
parent 53dc6fb862
commit 87494f5569
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2015-11-12 Renlin Li <renlin.li@arm.com>
* config/arm/arm.md (addsi3_compare_op2): Make the order of
assembly pattern consistent with constraint order.
2015-11-12 Tom de Vries <tom@codesourcery.com>
* gen-pass-instances.awk (handle_line): Simplify match regexp.

View File

@ -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")]
)