Re: [PATCH, rs6000] don't use unaligned vsx for memset of less than 32 bytes

2018-06-26 Thread Segher Boessenkool
Hi! On Mon, Jun 25, 2018 at 10:41:32AM -0500, Aaron Sawdey wrote: > In gcc 8 I added support for unaligned vsx in the builtin expansion of > memset(x,0,y). Turns out that for memset of less than 32 bytes, this > doesn't really help much, and it also runs into an egregious load-hit- > store case in

[PATCH, rs6000] don't use unaligned vsx for memset of less than 32 bytes

2018-06-25 Thread Aaron Sawdey
In gcc 8 I added support for unaligned vsx in the builtin expansion of memset(x,0,y). Turns out that for memset of less than 32 bytes, this doesn't really help much, and it also runs into an egregious load-hit- store case in CPU2006 components gcc and hmmer. This patch reverts to the previous (gcc