Abstract:
Verfahren und System zur Unterstützung einer Planung von Memory-Speicherinstruktionen quer über atomare Bereiche bei der binären Übersetzung in einer Verarbeitungseinheit oder einem Prozessor. In einer Ausführungsform der Erfindung weist die Verarbeitungseinheit einen Speicherpuffer auf, der ermöglicht, dass Speicherinstruktionen in einer von der Quell-Binärprogrammordnung verschiedenen Ordnung ausgegeben werden, aber weiterhin in der Quell-Binärprogrammordnung rückgeordnet werden. Dies vereinfacht einen kleinen atomaren Bereich, der auf jede Iteration eines Quellbinärcodes mappt, und diese atomaren Bereiche werden in einem Pipeline-Bereich miteinander verbunden. In einer Ausführungsform der Erfindung führt die Verarbeitungseinheit einmal in jeder Schleifeniteration eine Festlegungsinstruktion(en) aus, anstatt die Festlegungsinstruktion(en) einmal nach dem Schleifenausstieg auszuführen.
Abstract:
Methods and apparatuses for compiler- created helper thread for multithreading are described herein. In one embodiment, exemplary process includes identifying a region of a main thread that likely has one or more delinquent loads, the one or more delinquent loads representing loads which likely suffer cache misses during an execution of the main thread, analyzing the region for one or more helper threads with respect to the main thread, and generating code for the one or more helper threads, the one or more helper threads being speculatively executed in parallel with the main thread to perform one or more tasks for the region of the main thread. Other methods and apparatuses are also described.
Abstract:
A method and system uses exceptions for code specialization in a system that supports transactions. The method and system includes inserting one or more branchless instructions into a sequence of computer instructions. The branchless instructions include one or more instructions that are executable if a commonly occurring condition is satisfied and include one or more instructions that are configured to raise an exception if the commonly occurring condition is not satisfied.