summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-28 16:11:47 +0000
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>2012-11-28 16:11:47 +0000
commitb6cd1741eb67f331e95e8f1ee0b59afe687b85d6 (patch)
tree90af12b3aea6bdc995635cbf2bca79370cc0bf4c
parentb35bba2c974346922de7f5da02fbb0a61ac0bf58 (diff)
downloadgcc-b6cd1741eb67f331e95e8f1ee0b59afe687b85d6.tar.gz
* config/epiphany/epiphgany.md (maddsi_combine): Fix output pattern.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193897 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog2
-rw-r--r--gcc/config/epiphany/epiphany.md2
2 files changed, 3 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 35277bc4d2b..503e0eee622 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -20,6 +20,8 @@
(fp_arith): .. this.
(v2fp_arith): New insn reservation.
+ * config/epiphany/epiphgany.md (maddsi_combine): Fix output pattern.
+
2012-11-28 Oleg Raikhman <oleg@adapteva.com>
* config/epiphany/epiphany.h (ASM_OUTPUT_ALIGN_WITH_NOP): Define.
diff --git a/gcc/config/epiphany/epiphany.md b/gcc/config/epiphany/epiphany.md
index 3a05a2a46a8..c70df07d410 100644
--- a/gcc/config/epiphany/epiphany.md
+++ b/gcc/config/epiphany/epiphany.md
@@ -1049,7 +1049,7 @@
(match_operand:SI 3 "gpr_operand" "0")))
(clobber (reg:CC_FP CCFP_REGNUM))])]
""
- "imsub %0, %1, %2"
+ "imadd %0, %1, %2"
[(set_attr "type" "fp_int")])
(define_insn "*imsub"