aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/arm/thumb1.md
diff options
context:
space:
mode:
authorTerry Guo <terry.guo@arm.com>2014-11-17 07:06:54 +0000
committerXuepeng Guo <xguo@gcc.gnu.org>2014-11-17 07:06:54 +0000
commitc121b4b78ba57d9a87c3cf355319fcf8c7adc2aa (patch)
tree418601fb757b64778d7a02bae1a1ec4baeda832a /gcc/config/arm/thumb1.md
parent4696acf0d351041af6c75cf6a33703c0acdbdc76 (diff)
downloadgcc-c121b4b78ba57d9a87c3cf355319fcf8c7adc2aa.zip
gcc-c121b4b78ba57d9a87c3cf355319fcf8c7adc2aa.tar.gz
gcc-c121b4b78ba57d9a87c3cf355319fcf8c7adc2aa.tar.bz2
thumb1.md (*addsi3_cbranch_scratch): Updated to UAL format.
gcc/ 2014-11-17 Terry Guo <terry.guo@arm.com> * config/arm/thumb1.md (*addsi3_cbranch_scratch): Updated to UAL format. gcc/testsuite/ 2014-11-17 Terry Guo <terry.guo@arm.com> * gcc.target/arm/thumb1-ual-1.c: New test. From-SVN: r217647
Diffstat (limited to 'gcc/config/arm/thumb1.md')
-rw-r--r--gcc/config/arm/thumb1.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/arm/thumb1.md b/gcc/config/arm/thumb1.md
index 3d6f80b..ddedc39 100644
--- a/gcc/config/arm/thumb1.md
+++ b/gcc/config/arm/thumb1.md
@@ -1420,13 +1420,13 @@
if (INTVAL (operands[2]) < 0)
output_asm_insn (\"subs\t%0, %1, %2\", operands);
else
- output_asm_insn (\"add\t%0, %1, %2\", operands);
+ output_asm_insn (\"adds\t%0, %1, %2\", operands);
break;
case 3:
if (INTVAL (operands[2]) < 0)
output_asm_insn (\"subs\t%0, %0, %2\", operands);
else
- output_asm_insn (\"add\t%0, %0, %2\", operands);
+ output_asm_insn (\"adds\t%0, %0, %2\", operands);
break;
}