Re: [PATCH] rs6000: Fix PR91275

2019-09-30 Thread Segher Boessenkool
Hi Bill, On Mon, Sep 30, 2019 at 08:24:09PM -0500, Bill Schmidt wrote: > PR91275 observes that __builtin_crypto_vpmsumd fails to work properly > with -O1 or higher with -mcpu=power8. That combination spells swap > optimization. Indeed, all vpmsum* instructions were being accepted > as swappable

[PATCH] rs6000: Fix PR91275

2019-09-30 Thread Bill Schmidt
Hi, PR91275 observes that __builtin_crypto_vpmsumd fails to work properly with -O1 or higher with -mcpu=power8. That combination spells swap optimization. Indeed, all vpmsum* instructions were being accepted as swappable operations. This is correct for all of them but vpmsumd, which creates a