DocumentCode :
2355224
Title :
Correctly implementing value prediction in microprocessors that support multithreading or multiprocessing
Author :
Martin, Milo M K ; Sorin, Daniel J. ; Cain, Harold W. ; Hill, Mark D. ; Lipasti, Mikko H.
Author_Institution :
Dept. of Comput. Sci., Wisconsin Univ., Madison, WI, USA
fYear :
2001
fDate :
1-5 Dec. 2001
Firstpage :
328
Lastpage :
337
Abstract :
This paper explores the interaction of value prediction with thread-level parallelism techniques, including multithreading and multiprocessing, where correctness is defined by a memory consistency model. Value prediction subtly interacts with the memory consistency model by allowing data dependent instructions to be reordered We find that predicting a value and later verifying that the value eventually calculated is the same as the value predicted is not always sufficient. We present an example of a multithreaded pointer manipulation that can generate a surprising and erroneous result when value prediction is implemented without considering memory consistency correctness. We show that this problem can occur with real software, and we discuss how to apply existing techniques to eliminate the problem in both sequentially consistent systems and systems that obey relaxed memory consistency models.
Keywords :
microprocessor chips; multi-threading; processor scheduling; data dependent instructions; memory consistency correctness; memory consistency model; microprocessors; multiprocessing; multithreaded pointer manipulation; multithreading; real software; relaxed memory consistency models; sequentially consistent systems; thread-level parallelism; value prediction; Hardware; Instruction sets; Microprocessors; Multithreading; Parallel processing; Predictive models; Software performance; Surface-mount technology; System performance; Yarn;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Microarchitecture, 2001. MICRO-34. Proceedings. 34th ACM/IEEE International Symposium on
ISSN :
1072-4451
Print_ISBN :
0-7965-1369-7
Type :
conf
DOI :
10.1109/MICRO.2001.991130
Filename :
991130
Link To Document :
بازگشت