Intel® Moderncode for Parallel Architectures
Support for developing parallel programming applications on Intel® Architecture.

Questions Regarding LOCKed Instructions

catafriggm
Beginner
114 Views
Got a couple very closely related questions.

The Intel manual says that the P4 relaxed the memory barrier behavior of locked instructions, so that "load operations that reference weakly ordered memory types (such as the WC memory type)" are allowed to cross the barrier (previously, locked instructions were full barriers). This is ambiguous, because WC is THE most weakly ordered memory type, able to do things no other memory type can. So I was wondering if anybody knew how locked instructions behaved with respect to loads from WB memory (the standard application-level memory type) on the P4?

Also, does anyone know how Core 1/2 CPUs behave in this regard?
0 Kudos
0 Replies
Reply