This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
[patch committed SH] Fix sh64-elf build failure [3/3]
- From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
- To: gcc-patches at gcc dot gnu dot org
- Date: Sun, 04 Mar 2012 08:24:58 +0900 (JST)
- Subject: [patch committed SH] Fix sh64-elf build failure [3/3]
The attached patch is a one liner to fix another unrecognized
error when compiling libgcc on sh64-elf. We have no abssi2
insn for SHmedia ATM. Regtested on sh4-unkonwn-linux-gnu.
Regards,
kaz
--
2012-03-03 Kaz Kojima <kkojima@gcc.gnu.org>
* config/sh/sh.md (abssi2): Add TARGET_SH1 condition.
diff -up ORIG/trunk/gcc/config/sh/sh.md trunk/gcc/config/sh/sh.md
--- ORIG/trunk/gcc/config/sh/sh.md 2012-02-27 09:57:51.000000000 +0900
+++ trunk/gcc/config/sh/sh.md 2012-03-01 12:55:49.000000000 +0900
@@ -4462,7 +4462,7 @@ label:
[(set (match_operand:SI 0 "arith_reg_dest" "")
(abs:SI (match_operand:SI 1 "arith_reg_operand" "")))
(clobber (reg:SI T_REG))]
- ""
+ "TARGET_SH1"
"")
(define_insn_and_split "*abssi2"