Make sure to notice that explicit physregs are used in the function