Re: [PATCH, rs6000] Don't optimize swaps when a swap has mixed use

2018-01-02 Thread Bill Schmidt
Segher was kind enough to give me an offline review on his vacation. I made some small changes and committed the following. Thanks! Bill 2018-01-02 Bill Schmidt * config/rs6000/rs6000-p8swap.c (swap_feeds_both_load_and_store): New function. (rs6000_analyze_swaps): Mar

[PATCH, rs6000] Don't optimize swaps when a swap has mixed use

2017-12-19 Thread Bill Schmidt
Hi, Carl Love is working on a patch to add missing flavors of the vec_xst_be intrinsic and test cases to cover all flavors. He ran into a latent bug in swap optimization that this patch addresses. Swap optimization operates on the principle that a computation can have swaps removed if all permuti