· Начало · Отвђтить · Статистика · Поиск · FAQ · Правила · Установки · Язык · Выход · WASM.RU · Noir.Ru ·

 WASM Phorum —› WASM.A&O —› PAUSE instruction

Посл.отвђт Сообщенiе


Дата: Дек 16, 2003 18:49:26

В IA SDM написано:

Improves the performance of spin-wait loops. When executing a “spin-wait loop,” a Pentium 4 or Intel Xeon processor suffers a severe performance penalty when exiting the loop because it detects a possible memory order violation. The PAUSE instruction provides a hint to the processor that the code sequence is a spin-wait loop. The processor uses this hint to avoid the memory order violation in most situations, which greatly improves processor performance. For this reason, it is recommended that a PAUSE instruction be placed in all spin-wait loops.

Что такое "possible memory order violation"


Дата: Дек 16, 2003 19:51:53 · Поправил: xzazet



Дата: Дек 17, 2003 17:53:55

это относится к мультипроцессорным системам. Подробности - в третьем
томе (и частично в приложении)


Powered by miniBB 1.6 © 2001-2002
Время загрузки страницы (сек.): 0.102