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 <[email protected]>
* 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"