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 for PR21969 (large vector causes ICE)


On Mon, Jun 20, 2005 at 09:53:06AM -0700, Steve Ellcey wrote:
> +   /* nunits is stored in precision field which is "unsigned int : 9",
> +      256 is the largest value that can be stored.  */
> +   if (nunits > 256)

Given that we only handle powers of 2, perhaps we should simply store
the log2 of the actual number, and have the TYPE_VECTOR_SUBPARTS macro
use (1 << bitfield).


r~


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