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]

Re: [patch] sh: Move predicates to predicates.md. (take 2)


Kazu Hirata wrote:

Hi,

Attached is a patch to move predicates to predicates.md.

Given recent changes to the SH port, I generated predicates.md from
scratch.

I've incorporated Kaz Kojima's fix at

http://gcc.gnu.org/ml/gcc-patches/2005-04/msg00512.html

If you could feed this to your favorite simulator or a real hardware,
that would be greatly appreciated.


This patch, applied to the sources as of today 12:00 UTC, causes a failure building sh64-elf:

/mnt/scratch/nightly/2005-05-31-pred/sh64-elf/./gcc/xgcc -B/mnt/scratch/nightly/2005-05-31-pred/sh64-elf/./gcc/ -nostdinc -B/mnt/scratch/nightly/2005-05-31-pred/sh64-elf/sh64-elf/newlib/ -isystem /mnt/scratch/nightly/2005-05-31-pred/sh64-elf/sh64-elf/newlib/targ-include -isystem /mnt/scratch/nightly/2005-05-31-pred/srcw/newlib/libc/include -B/usr/local/sh64-elf/bin/ -B/usr/local/sh64-elf/lib/ -isystem /usr/local/sh64-elf/include -isystem /usr/local/sh64-elf/sys-include -L/mnt/scratch/nightly/2005-05-31-pred/sh64-elf/./ld -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I -I../../srcw/gcc -I../../srcw/gcc/ -I../../srcw/gcc/../include -I../../srcw/gcc/../libcpp/include -DFINE_GRAINED_LIBRARIES -DL_mul_df -c dp-bit.c -o libgcc/./_mul_df.o
dp-bit.c: In function ‘__muldf3’:
dp-bit.c:952: error: unrecognizable insn:
(insn 506 505 511 16 dp-bit.c:863 (set (reg:DI 3 r3)
(mult:DI (zero_extend:DI (truncate:SI (reg:DI 7 r7 [orig:177 D.2362 ] [177])))
(zero_extend:DI (truncate:SI (reg:DI 2 r2 [orig:176 D.2363 ] [176]))))) -1 (nil)
(nil))
dp-bit.c:952: internal compiler error: in extract_insn, at recog.c:2082



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