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: Proposal for merging scalar-storage-order branch into mainline


On 06/09/2015 04:52 AM, Richard Biener wrote:
On Tue, Jun 9, 2015 at 12:39 PM, Eric Botcazou <ebotcazou@adacore.com> wrote:
What's the reason to not expose the byte swapping operations earlier, like
on GIMPLE?  (or even on GENERIC?)

That would be too heavy, every load and store in GENERIC/GIMPLE would have an
associated byte swapping operation, although you don't know if they will be
needed in the end.  For example, if the structure is scalarized, they are not.

Yes, but I'd expect them to be optimized away (well, hopefully).
Anwyay, and I thought
use of the feature would be rare so that "every load and store" is
still very few?
Seems like it'd be a great way to test the effectiveness of our bswap pass :-)

jeff


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