This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Reload CONST_VECTOR into memory on ppc.
- From: Geoff Keating <geoffk at geoffk dot org>
- To: "Hartmut Penner" <HPENNER at de dot ibm dot com>
- Cc: Aldy Hernandez <aldyh at redhat dot com>, "David Edelsohn" <edelsohn at us dot ibm dot com>, gcc-patches at gcc dot gnu dot org
- Date: 19 Dec 2003 12:33:39 -0800
- Subject: Re: [PATCH] Reload CONST_VECTOR into memory on ppc.
- References: <OF5BFE41CC.0819F6BA-ONC1256E01.003352E7-C1256E01.003A3711@de.ibm.com>
"Hartmut Penner" <HPENNER@de.ibm.com> writes:
> Hello,
> good following compiling a big AltiVec testcase:
>
> test.c: In function `part2':
>
> test.c:2888: error: unrecognizable insn:
> (insn 8625 5575 5570 510 (set (reg:V4SI 1)
> (const_vector:V4SI [
> (const_int 65537 [0x10001])
> (const_int 65537 [0x10001])
> (const_int 65537 [0x10001])
> (const_int 65537 [0x10001])
> ])) -1 (nil)
> (nil))
> test.c:2888: internal compiler error: in extract_insn, at recog.c:2061
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for instructions.
This insn should be recognizable; certainly, spilling to memory isn't
going to produce much better code. Note that we are here loading
a CONST_VECTOR into *integer* registers.
Probably you need to enhance movv4si_internal to handle this case.
--
- Geoffrey Keating <geoffk@geoffk.org>