This is the mail archive of the gcc@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: Problem in hfa_element_mode for IA64


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:

>     > But Arr1 is SImode since layout_type sets its mode to an integer mode.
>
>     This seems weird.
>
> Why?  We do it for records.
>
> Suppose we have an array of two chars with alignment of two bytes.  Shouldn't
> it be HImode?

Wouldn't this mean that two consecutive writes to both characters are
combined into a single halfword write?


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