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] Reload CONST_VECTOR into memory on ppc.


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


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