summaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-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"