4 ms·
On a tangentially related note, I love the PowerPC instruction to act as a mmio barrier: Enforce In Order Execution of I/O, or eieio. For those anglophones tha
by monocasa 8y ago
On a tangentially related note, I love the PowerPC instruction to act as a mmio barrier: Enforce In Order Execution of I/O, or eieio.
For those anglophones that remember the kids' song "Old McDonald Had a Farm", your code can pretty easily follow the song.
read_a_register_right_here();
eieio();
then_write_a_register_right_here();
eieio();
bookkeep_here();
bookkeep_there();
a_lot_more_bookkeep_everywhere();
then_write_a_register_right_here();
eieio();
- teddyh 8y agoEIEIO is also an error code typedef in GNU libc: https://www.gnu.org/software/libc/manual/html_node/Error-Codes.html#index-EIEIO https://www.gnu.org/software/libc/manual/html_node/Error-Cod... “Computer bought the farm.”