atomicity.h (__exchange_and_add): Set earlyclobber constraint.

2009-09-14  Andrew Stubbs  <ams@codesourcery.com>

	* config/cpu/sh/atomicity.h (__exchange_and_add): Set earlyclobber
	constraint.

From-SVN: r151682
This commit is contained in:
Andrew Stubbs 2009-09-14 10:18:41 +00:00 committed by Andrew Stubbs
parent cdb4dde56c
commit 3cec90b456
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2009-09-14 Andrew Stubbs <ams@codesourcery.com>
* config/cpu/sh/atomicity.h (__exchange_and_add): Set earlyclobber
constraint.
2009-09-11 Johannes Singler <singler@ira.uka.de>
* include/parallel/multiway_merge.h

View File

@ -44,7 +44,7 @@ _GLIBCXX_BEGIN_NAMESPACE(__gnu_cxx)
"\tadd\t%3,r0\n"
"\tmovco.l\tr0,@%2\n"
"\tbf\t0b"
: "+m" (*__mem), "=r" (__result)
: "+m" (*__mem), "=&r" (__result)
: "r" (__mem), "rI08" (__val)
: "r0");