Addressing Thermal and Performance Variability Issues in Dynamic Processors