1. A system comprising: a compiler scheduling a sequence of instructions for execution by an execution pipeline capable of operating at any of a plurality of frequencies, the compiler computing an optimal performance and power dissipation frequency for executing the instruction sequence using the execution pipeline, the compiler inserting an instruction into executable code containing the instruction sequence, the inserted instruction setting an operating frequency for the execution pipeline based on the computed optimal performance and power dissipation frequency.