Add support for other arithmetic instructions.