It might be possible to remove duplication in the instruction formats and multiclasses by using multiple inheritance.