2003 · 13 citations · 0 references
EngineeringComputer EngineeringComputer ScienceComputer ArchitectureHardware-software Co-designOperating SystemsCpu SchedulingSuperscalar ProcessingData IndependenceException HandlingLatency ToleranceMain Thread PerformanceMemory Access LatencyMemory LatencyMultithreading MicroarchitectureSuperscalar Microarchitecture
Common hardware exceptions, when implemented by trapping, unnecessarily serialize program execution in dynamically scheduled superscalar processors. To avoid the consequences of trapping the main program thread, multithreaded CPUs can exploit control and data independence by executing the exception handler in a separate hardware context. The main thread doesn't squash instructions after the excepting instruction, conserving fetch bandwidth and allowing execution of instructions independent of the exception. This leads to earlier branch resolution in the post exception code and additional memory latency tolerance. As a proof of concept, using threads to handle software TLB misses is shown to provide performance approaching that of an aggressive hardware TLB miss handler.