This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC/RFT] Tree-level lowering of generic vectors, part 2
- From: David Edelsohn <dje at watson dot ibm dot com>
- To: Paolo Bonzini <bonzini at gnu dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Thu, 05 Aug 2004 16:14:05 -0400
- Subject: Re: [RFC/RFT] Tree-level lowering of generic vectors, part 2
- References: <40FE496F.9090608@polimi.it>
Paolo,
Your patch appears to be the cause of the persistent
gcc.dg/compat/vector-2 failure on PowerPC. The ICE reports:
/gcc/dje/src/gcc/testsuite/gcc.dg/compat/vector-2_x.c: In function `return_v16sf':
/gcc/dje/src/gcc/testsuite/gcc.dg/compat/vector-2_x.c:11: internal compiler error: in hard_function_value, at explow.c:1625
which is a failure in the loop to find an integer mode for a scalar return
value of a given size:
for (tmpmode = GET_CLASS_NARROWEST_MODE (MODE_INT);
tmpmode != VOIDmode;
tmpmode = GET_MODE_WIDER_MODE (tmpmode))
{
/* Have we found a large enough mode? */
if (GET_MODE_SIZE (tmpmode) >= bytes)
break;
}
/* No suitable mode found. */
if (tmpmode == VOIDmode)
abort ();
32-bit PowerPC does not provide a scalar integer mode than can hold v16sf.
Any ideas on how to correct this problem?
Thanks, David