target/9757: Gcc should use swp instruction in ARM targets

rearnsha@gcc.gnu.org rearnsha@gcc.gnu.org
Thu Feb 20 12:13:00 GMT 2003


Synopsis: Gcc should use swp instruction in ARM targets

State-Changed-From-To: open->closed
State-Changed-By: rearnsha
State-Changed-When: Thu Feb 20 12:13:24 2003
State-Changed-Why:
    No, the SWP instruction should not be used.  For several reasons.
    
    1) It's very slow on some processors, since it forces an external bus access even if the data is already in the cache.
    2) It's behaviour is not defined if access is made to a MMU managed page that is non-cacheable/bufferable.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9757



More information about the Gcc-bugs mailing list