The referenced code doesn't include the modified register in the clobber list of the inline asm. Does adding r1 there fix the problem?
The referenced code doesn't include the modified register in the clobber list of the inline asm. Does adding r1 there fix the problem?