This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]