Collision handling apparatus and method
AssigneeTelefonaktiebolaget LM Ericsson (publ)
InventorsAnders Widell, Per Holmberg, Marcus Dahlström
Life of this patent
Estimating the term…
Loading patent…
AssigneeTelefonaktiebolaget LM Ericsson (publ)
InventorsAnders Widell, Per Holmberg, Marcus Dahlström
Estimating the term…
The present invention relates to mechanisms for handling and detecting collisions between threads (5, 6, 7) that execute computer program instructions out of program order. According to an embodiment of the present invention each of a plurality of threads (5, 6, 7) are associated with a respective data structure (9, 10, 11) comprising a number of bits (12) that correspond to memory elements (m0, m1, m2, mn) of a shared memory (4). When a thread accesses a memory element in the shared memory, it sets a bit in its associated data structure, which bit corresponds to the accessed memory element. This indicates that the memory element has been accessed by the thread. Collision detection may be carried out after the thread has finished executing by means of comparing the data structure of the thread with the data structures of other threads on which the thread may depend.
An apparatus for supporting speculative execution of a plurality of speculative threads, the threads comprising computer program instructions, said apparatus comprising:
A method of supporting speculative execution of a plurality of speculative threads, the threads comprising computer program instructions, said method comprising the steps of:
A method for handling possible collisions between a plurality of speculative threads, said speculative threads comprising computer program instructions to be executed by one or more processors by accessing shared memory elements of a shared memory, said method comprising the steps of:
Dependencies are inferred from the claim text.