This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Optimize v*gather* with masks with all high bits set
On 11/04/2011 08:53 AM, Jakub Jelinek wrote:
> On Fri, Nov 04, 2011 at 08:48:30AM -0700, Richard Henderson wrote:
>> On 11/04/2011 03:57 AM, Jakub Jelinek wrote:
>>> + /* Optimize. If mask is known to have all high bits set,
>>> + replace op0 with pc_rtx to signal that the instruction
>>> + overwrites the whole destination and doesn't use its
>>> + previous contents. */
>>
>> Why pass in PC, rather than nothing?
>
> I wanted to avoid adding an extra set of expanders, if there is something,
> I can use the same expander and just different insns. There are currently
> 16 expanders, we'd need another 16 for that.
*shrug* Ok then.
r~