06.08.2013 Views

Threads in the new ISO C Standard from 2011

Threads in the new ISO C Standard from 2011

Threads in the new ISO C Standard from 2011

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Power Memory Barrier Instructions<br />

The Power memory barrier <strong>in</strong>structions create a memory barrier with<br />

two sets of <strong>in</strong>structions:<br />

<strong>the</strong> A-set with <strong>in</strong>structions ai preced<strong>in</strong>g <strong>the</strong> barrier, and<br />

<strong>the</strong> B-set with <strong>in</strong>structions bj follow<strong>in</strong>g <strong>the</strong> barrier.<br />

Depend<strong>in</strong>g on which barrier <strong>in</strong>struction is used, some bj <strong>in</strong>structions<br />

may be reordered with some ai <strong>in</strong>structions.<br />

Jonas Skeppstedt (js@cs.lth.se) Lecture 6 2013 49 / 70

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!