This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/61296] Excessive alignment in ix86_data_alignment
- From: "hjl.tools at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 11 Jun 2014 16:38:41 +0000
- Subject: [Bug target/61296] Excessive alignment in ix86_data_alignment
- Auto-submitted: auto-generated
- References: <bug-61296-4 at http dot gcc dot gnu dot org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61296
--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
Comments for DATA_ALIGNMENT
One use of this macro is to increase alignment of medium-size
data to make it all fit in fewer cache lines. Another is to
cause character arrays to be word-aligned so that `strcpy' calls
that copy constants to character arrays can be done inline.
was added by
https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=ed45e834f305d1f2709bf200a13d5beebc2fcfee
to improve x86 FP performance, which might be partially copied from
CONSTANT_ALIGNMENT:
https://gcc.gnu.org/git/?p=gcc.git;a=patch;h=f7d6703c5d83fc9fb06246d6eb49e9b61098045c