Power-Aware Compilation with Architectural Support and Instruction Scheduling