From: Richard Kenner Date: Tue, 11 Jul 1995 00:03:06 +0000 (-0400) Subject: (matcher for (shiftable_op (cond-exp) (reg))): If shiftable_op is X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f07064d38b93bdd383feb78f4c226d9023453ff2;p=gcc.git (matcher for (shiftable_op (cond-exp) (reg))): If shiftable_op is minus, then subtract from zero when cond fails. From-SVN: r10115 --- diff --git a/gcc/config/arm/arm.md b/gcc/config/arm/arm.md index db8a3579857..2ccc61ea338 100644 --- a/gcc/config/arm/arm.md +++ b/gcc/config/arm/arm.md @@ -4114,6 +4114,8 @@ output_asm_insn (\"cmp\\t%2, %3\", operands); if (GET_CODE (operands[5]) == AND) output_asm_insn (\"mov%D4\\t%0, #0\", operands); + else if (GET_CODE (operands[5]) == MINUS) + output_asm_insn (\"rsb%D4\\t%0, %1, #0\", operands); else if (which_alternative != 0) output_asm_insn (\"mov%D4\\t%0, %1\", operands); return \"%i5%d4\\t%0, %1, #1\";