avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-libc-dev] [bug #37778] _MemoryBarrier() in cpufunc.h error on compi


From: Dmitry Xmelkov
Subject: [avr-libc-dev] [bug #37778] _MemoryBarrier() in cpufunc.h error on compile
Date: Sun, 27 Jan 2013 12:58:16 +0000
User-agent: Mozilla/5.0 (X11; Linux i686; rv:2.0.1) Gecko/20110328 Firefox/4.0.1

Update of bug #37778 (project avr-libc):

                  Status:                    None => In Progress            
        Percent Complete:                      0% => 50%                    
             Assigned to:                    None => dmix                   

    _______________________________________________________

Follow-up Comment #2:

What is the necessity to add memory barrier for _NOP()?
Common usage, like:
    PORTB |= 1;
    _NOP();
    PORTB &= ~1;
is safe, as hardware registers are volatile.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37778>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]