PERFORCE change 163434 for review
Arnar Mar Sig
antab at FreeBSD.org
Wed Jun 3 18:47:22 UTC 2009
http://perforce.freebsd.org/chv.cgi?CH=163434
Change 163434 by antab at antab_farm on 2009/06/03 18:46:29
Allow operand for sub instruction to be immediate value
Affected files ...
.. //depot/projects/avr32/src/sys/avr32/include/atomic.h#9 edit
Differences ...
==== //depot/projects/avr32/src/sys/avr32/include/atomic.h#9 (text+ko) ====
@@ -115,7 +115,7 @@
"stcond %1, %0\n"
"brne 1b"
: "=&r"(tmp), "=m"(*address)
- : "m"(*address), "r"(-val)
+ : "m"(*address), "rKs21"(-val)
: "cc", "memory");
}
@@ -132,7 +132,7 @@
"stcond %1, %0\n"
"brne 1b"
: "=&r"(tmp), "=m"(*address)
- : "m"(*address), "r"(val)
+ : "m"(*address), "rKs21"(val)
: "cc", "memory");
}
@@ -152,7 +152,7 @@
"stcond %1, %2\n"
"brne 1b\n"
: "=&r"(ret), "=m"(*address), "=r" (tmp)
- : "m"(*address), "r"(-val)
+ : "m"(*address), "rKs16"(-val)
: "cc", "memory");
return ret;
More information about the p4-projects
mailing list