BRIEF DESCRIPTION OF THE DRAWINGS
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
FIG. 1 shows architecture of a processor;
FIG. 2 shows a method of generating assembly code for power leakage reduction;
FIG. 3 shows step 204 in detail;
FIG. 4 shows step 305 in detail;
FIG. 5 is a flowchart of a sinkable analysis module;
FIG. 6 is a flowchart of a hoistable analysis module;
FIG. 7 is a flowchart of a power-off instruction classification module;
FIG. 8 is a flowchart of a power-on instruction classification module;
FIG. 9A is a control-flow graph of a program, utilization of power-gated components, and a first power-gating instruction placement; and
FIG. 9B shows a second power-gating instruction placement generated from FIG.