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, rs6000] Document issues with permutes for analyze_swaps


On Sun, Oct 5, 2014 at 6:06 PM, Bill Schmidt
<wschmidt@linux.vnet.ibm.com> wrote:
> Hi,
>
> I spent some time thinking about handling vperm instructions in the
> analyze_swaps pass, and convinced myself that it isn't necessarily wise
> to do so.  At the least it will require adding a cost model to the pass
> to determine whether a computation involving permutes should be
> optimized.
>
> At this time I don't intend to implement this, but I want to record the
> information about how it could be done should it be deemed necessary.
> So this patch just adds a few paragraphs of documentation about the
> issue.  No change in behavior intended.
>
> I've ensured that rs6000.c still compiles successfully on
> powerpc64le-unknown-linux-gnu.  Is this ok for trunk?
>
> Thanks,
> Bill
>
>
> 2014-10-05  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
>
>         * config/rs6000/rs6000.c (analyze_swaps commentary): Add
>         discussion of permutes and why we don't handle them.

Great!

Thanks, David


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