A Hardware-Software Processor Architecture Using Pipeline Stalls For Leakage Power Management