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: [RFC/RFT] Tree-level lowering of generic vectors, part 2


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


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