From mboxrd@z Thu Jan 1 00:00:00 1970 From: Aldy Hernandez To: Richard Henderson Cc: Stan Shebs , "Joseph S. Myers" , gcc@gcc.gnu.org Subject: Re: front end changes for altivec Date: Tue, 27 Nov 2001 17:10:00 -0000 Message-ID: <1006909951.5637.57.camel@litecycle.cc.andrews.edu> References: <1006874643.5176.8.camel@litecycle.cc.andrews.edu> <20011127132756.A30114@redhat.com> <1006898082.5178.41.camel@litecycle.cc.andrews.edu> <20011127140031.E30114@redhat.com> <3C0418B1.8B56487D@apple.com> <20011127151526.A30257@redhat.com> <1006909175.5178.51.camel@litecycle.cc.andrews.edu> <20011127170302.B30341@redhat.com> X-SW-Source: 2001-11/msg01437.html Message-ID: <20011127171000.3KA0TTmoKzfg2BrPg3qZ6mAEOtr5Caowrp-p9Qd-mec@z> On Tue, 2001-11-27 at 19:03, Richard Henderson wrote: > On Tue, Nov 27, 2001 at 06:59:35PM -0600, Aldy Hernandez wrote: > > why can't you have sizeof((vector int))? > > Oh, you mean vector_width == sizeof(vector int) / sizeof(int)? > Um, I guess that works. right > But what do you do with > > vector int x = (vector int){ 1, 2, 3, 4 }; > > when a vector is only two elements wide? that should trigger a syntax error. and vector constants should only be used in initializers. > > > r~ -- Aldy Hernandez E-mail: aldyh@redhat.com Professional Gypsy Red Hat, Inc.