Re: [PATCH][rs6000] fix ICE for strncmp expansion on power6

2018-11-02 Thread Segher Boessenkool
On Fri, Nov 02, 2018 at 09:58:50AM -0500, Aaron Sawdey wrote: > This patch addresses an ICE for a missing instruction when targeting power6. > The issue > is that we shouldn't generate x-form load rtx if TARGET_AVOID_XFORM is true > because > it won't end up being matched. More generally, on big

[PATCH][rs6000] fix ICE for strncmp expansion on power6

2018-11-02 Thread Aaron Sawdey
This patch addresses an ICE for a missing instruction when targeting power6. The issue is that we shouldn't generate x-form load rtx if TARGET_AVOID_XFORM is true because it won't end up being matched. More generally, on big endian we do not need to use ldbrx et. al. which are index loads, but c