This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
- From: "liqin at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 May 2007 07:18:56 -0000
- Subject: [Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
- References: <bug-30987-14137@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from liqin at gcc dot gnu dot org 2007-05-10 08:18 -------
Index: gcc/config/score/predicates.md
===================================================================
--- gcc/config/score/predicates.md (revision 124567)
+++ gcc/config/score/predicates.md (working copy)
@@ -75,14 +75,3 @@
return IMM_IN_RANGE (INTVAL (op), 15, 1);
})
-(define_predicate "const_pow2"
- (match_code "const_int")
-{
- return IMM_IS_POW_OF_2 ((unsigned HOST_WIDE_INT) INTVAL (op), 0, 31);
-})
-
-(define_predicate "const_npow2"
- (match_code "const_int")
-{
- return IMM_IS_POW_OF_2 (~(unsigned HOST_WIDE_INT) INTVAL (op), 0, 31);
-})
Index: gcc/config/score/misc.md
===================================================================
--- gcc/config/score/misc.md (revision 124567)
+++ gcc/config/score/misc.md (working copy)
@@ -380,38 +380,3 @@
[(set_attr "type" "arith")
(set_attr "mode" "SI")])
-(define_insn "bitclr_c"
- [(set (match_operand:SI 0 "register_operand" "=e,d")
- (and:SI (match_operand:SI 1 "register_operand" "0,d")
- (match_operand:SI 2 "const_npow2")))
- (clobber (reg:CC CC_REGNUM))]
- ""
- "@
- bitclr! %0, %F2
- bitclr.c %0, %1, %F2"
- [(set_attr "type" "arith")
- (set_attr "mode" "SI")])
-
-(define_insn "bitset_c"
- [(set (match_operand:SI 0 "register_operand" "=e,d")
- (ior:SI (match_operand:SI 1 "register_operand" "0,d")
- (match_operand:SI 2 "const_pow2")))
- (clobber (reg:CC CC_REGNUM))]
- ""
- "@
- bitset! %0, %E2
- bitset.c %0, %1, %E2"
- [(set_attr "type" "arith")
- (set_attr "mode" "SI")])
-
-(define_insn "bittgl_c"
- [(set (match_operand:SI 0 "register_operand" "=e,d")
- (xor:SI (match_operand:SI 1 "register_operand" "0,d")
- (match_operand:SI 2 "const_pow2")))
- (clobber (reg:CC CC_REGNUM))]
- ""
- "@
- bittgl! %0, %E2
- bittgl.c %0, %1, %E2"
- [(set_attr "type" "arith")
- (set_attr "mode" "SI")])
--
liqin at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2007-05-10 08:18:55
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987