Architectural And Complier Mechanisms For Accelerating Single Thread Applications On Mulitcore Processors.