Re: [PATCH, rs6000] Map dcbtstt, dcbtt to n2=0 for __builtin_prefetch builtin.

2018-05-10 Thread Segher Boessenkool
Hi Carl, On Thu, May 10, 2018 at 11:10:29AM -0700, Carl Love wrote: > * config/rs6000/rs6000.md (prefetch): Generate dcbtt and dcbtstt > instructions if operands[2] is 0. "and TARGET_POPCNTD"? Or "and generating code for ISA 2.06 or later". Something like that. Looks good,

Re: [PATCH, rs6000] Map dcbtstt, dcbtt to n2=0 for __builtin_prefetch builtin.

2018-05-10 Thread Carl Love
GCC Maintainers: I updated the patch so the dcbtt and dctstt instructions are only generated if the supported ISA is 2.06 or newer. I addressed the use of REG instead of REG_P and formatting issues as requested. The regression testing of the patch was done on     powerpc64le-unknown-linux-gnu