Move SML specific code from mips-base to mips-sml.
Update for BitsN.