MIPS-3D

MIPS-3D is an extension to the MIPS V instruction set architecture (ISA) that added 13 new instructions for improving the performance of 3D graphics applications. The instructions improved performance by reducing the number of instructions required to implement four common 3D graphics operations: vertex transformation, clipping, transformation and lighting.
For vertex transformation:
For clipping:
For perspective division and normalization: