Custom Instruction Generation Using Temporal Partitioning Techniques for a Reconfigurable Functional Unit