Richard Guenther <rguent...@suse.de> writes:

> In PR53346 we vectorize a simple memset loop very inefficiently.
> But of course we should have detected this and transformed the
> loop into a memset!  Seems like we only do that if the original
> loop does sth else than memset as well.

Is there a way to turn this off?

I know code written in the past who explicitely wrote memset as a loop
because it couldn't deal with the optimizations optimized memsets do
(like reordering or changing access granuality.

One example is clearing something in memory mapped hardware registers.

It would be good at least if this was not done for volatile.

-Andi

-- 
a...@linux.intel.com -- Speaking for myself only

Reply via email to