[Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
--- Comment #8 from liqin at gcc dot gnu dot org 2007-05-23 07:09 --- Subject: Bug 30987 Author: liqin Date: Wed May 23 06:09:20 2007 New Revision: 124983 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124983 Log: 2007-05-23 Chen Liqin [EMAIL PROTECTED] PR target/30987 * config/score/misc.md (bitclr_c, bitset_c, bittgl_c): remove. * config/score/predicate.md (const_pow2, const_npow2): remove. * config/score/score.h (ASM_OUTPUT_EXTERNAL): add ASM_OUTPUT_EXTERNAL undef. PR target/30474 * config/score/score.c (score_print_operand): makes sure that only lower bits are used. Modified: trunk/gcc/ChangeLog trunk/gcc/config/score/misc.md trunk/gcc/config/score/predicates.md trunk/gcc/config/score/score.c trunk/gcc/config/score/score.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987
[Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
--- Comment #9 from liqin at gcc dot gnu dot org 2007-05-23 07:31 --- * config/score/misc.md (bitclr_c, bitset_c, bittgl_c): remove. * config/score/predicate.md (const_pow2, const_npow2): remove. -- liqin at gcc dot gnu dot org changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987
[Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
--- Comment #7 from liqin at gcc dot gnu dot org 2007-05-23 06:50 --- Subject: Bug 30987 Author: liqin Date: Wed May 23 05:49:50 2007 New Revision: 124980 URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=124980 Log: 2007-05-23 Chen Liqin [EMAIL PROTECTED] PR target/30987 * config/score/misc.md (bitclr_c, bitset_c, bittgl_c): remove. * config/score/predicate.md (const_pow2, const_npow2): remove. * config/score/score.h (ASM_OUTPUT_EXTERNAL): add ASM_OUTPUT_EXTERNAL undef. PR target/30474 * config/score/score.c (score_print_operand): makes sure that only lower bits are used. Modified: branches/gcc-4_2-branch/gcc/ChangeLog branches/gcc-4_2-branch/gcc/config/score/misc.md branches/gcc-4_2-branch/gcc/config/score/predicates.md branches/gcc-4_2-branch/gcc/config/score/score.c branches/gcc-4_2-branch/gcc/config/score/score.h -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987
[Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
--- 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|-00-00 00:00:00 |2007-05-10 08:18:55 date|| http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987
[Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
--- Comment #5 from liqin at gcc dot gnu dot org 2007-05-09 10:55 --- I will remove the bitclr_c,bitset_c and bittgl_c pattern from misc.md, they have not to many use. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987
[Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
--- Comment #4 from mstein at phenix dot rootshell dot be 2007-03-09 17:05 --- Created an attachment (id=13179) -- (http://gcc.gnu.org/bugzilla/attachment.cgi?id=13179action=view) from SVN revision: 122728 Commandline used to create libgcc2.i: /home/mstein/sim/score-elf/build/./gcc/xgcc -B/home/mstein/sim/score-elf/build/./gcc/ -nostdinc -B/home/mstein/sim/score-elf/build/score-elf/newlib/ -isystem /home/mstein/sim/score-elf/build/score-elf/newlib/targ-include -isystem /n/07/mstein/combined-trunk/newlib/libc/include -B/n/07/mstein/cross-local/score-elf-new/score-elf/bin/ -B/n/07/mstein/cross-local/score-elf-new/score-elf/lib/ -isystem /n/07/mstein/cross-local/score-elf-new/score-elf/include -isystem /n/07/mstein/cross-local/score-elf-new/score-elf/sys-include -L/home/mstein/sim/score-elf/build/./ld -O2 -g -O2 -mmac -O2 -O2 -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -G 0 -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../.././gcc -I/n/07/mstein/combined-trunk/libgcc -I/n/07/mstein/combined-trunk/libgcc/. -I/n/07/mstein/combined-trunk/libgcc/../gcc -I/n/07/mstein/combined-trunk/libgcc/../include -I/n/07/mstein/combined-trunk/libgcc/../libdecnumber -I../../../libdecnumber -o _floatdisf.o -MT _floatdisf.o -MD -MP -MF _floatdisf.dep -DL_floatdisf -c /n/07/mstein/combined-trunk/libgcc/../gcc/libgcc2.c \ -save-temps -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987
[Bug target/30987] [4.3 Regression] Problem while compiling gcc for score
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-02-28 04:42 --- And I think the pattern is incorrect anyways, lets look at it: (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))] No constraints on the operand 2, that is bad news for after reload. -- pinskia at gcc dot gnu dot org changed: What|Removed |Added Component|rtl-optimization|target http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30987