patch to allow loopvars from memset/cpy in asm
simplify loop unrolling of memcpy and memset