> Since b567b38 (target-arm: remove T0 and T1, 2009-10-16) the only global > register that is actually used is AREG0, so the complexity of > hostregs_helper.h is unwarranted. > > Let's just say that env should be the only global register. AREG1 and > AREG2 in principle could still be used to work around bad register > allocation in GCC, so I'm leaving them in dyngen-exec.h.
I think AREG[12] should be removed too. If we aren't saving them then they can't be safely used. Paul