Tested on Aurelien's debian sh4 image. There's a twist in this conversion in that max_insns might be modified by .tb_start; this is what patch 1 introduces.
Note that I've sent patches for converting other targets to the translation loop; those have not yet hit master so in patch 1 I am ignoring the corresponding targets. Thanks, Emilio