Re: vector alignment question

2005-06-08 Thread Steve Ellcey
> On Wed, Jun 08, 2005 at 12:50:32PM -0700, Steve Ellcey wrote: > > I noticed that vectors are always aligned based on their size, i.e. an > > 8 byte vector has an aligment of 8 bytes, 16 byte vectors an alignment > > of 16, a 256 byte vector an alignment of 256, etc. > > > > Is this really inten

Re: vector alignment question

2005-06-08 Thread Richard Henderson
On Wed, Jun 08, 2005 at 12:50:32PM -0700, Steve Ellcey wrote: > I noticed that vectors are always aligned based on their size, i.e. an > 8 byte vector has an aligment of 8 bytes, 16 byte vectors an alignment > of 16, a 256 byte vector an alignment of 256, etc. > > Is this really intended? Yes.

vector alignment question

2005-06-08 Thread Steve Ellcey
I noticed that vectors are always aligned based on their size, i.e. an 8 byte vector has an aligment of 8 bytes, 16 byte vectors an alignment of 16, a 256 byte vector an alignment of 256, etc. Is this really intended? I looked in stor-layout.c and found: /* Always naturally align vectors