Andrew, I suspect the test below is not valid for pseudo-registers, since they may not have a location in the reg cache at all. Anyway, the change makes sh4 work again. Michael