This is the mail archive of the gcc-help@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: Performance problem: unaligned loads/stores on structure assignments on MIPS


Simon Kagstrom <simon.kagstrom@bth.se> writes:

> GCC 4.1 seems to sometimes generate inefficient code when doing
> structure assignments directly when compiling for MIPS1. When assigning
> to structure members manually, it generates regular lw/sw sequences.
> When assigning to the structure, you instead get lwl/lwr and swl/swr
> pairs (for no reason, since the data is aligned).

...

> Should I consider this a bug and report it to the bug tracking system?
> I looked for similar problems, but couldn't find any matching bug report.

This seems like a bug to me.

Ian


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