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: Align DImode to 4 byte for i386


On Feb 9, 2008 3:44 PM, Jan Hubicka <jh@suse.cz> wrote:
> > Apparently, it breaks Ada. But Ada may be broken/different in long
> > long alignment. I still believe
> > my patch doesn't break the psABI.
>
> I also agree that the patch can hardly break psABI when alignment of 4
> is specified.  The question is why it breaks Ada.
>
> We used to have BIGGEST_ALIGNMENT set to 32. This was later revised to
> support SSE modes and we now have BIGGEST_ALIGNMENT set to 128 and
> ADJUST_FIELD_ALIGNMENT and friends responsible for reducing the
> alignment of stuff to 32bit per psABI specification.
>
> It seems to me that some of ABI stuff is not being adjusted as it ought.
> Do you have any idea what breaks?
>

Ada compiler is written in Ada. I don't know Ada and have no idea where to look.
Arnaud, do you have any idea why aligning long long to 4 byte breaks Ada?

Thanks.

H.J.
to


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