PERFORCE change 31912 for review
Juli Mallett
jmallett at FreeBSD.org
Mon May 26 19:12:50 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=31912
Change 31912 by jmallett at jmallett_dalek on 2003/05/26 19:12:44
Put input constraints that we actually need to have the
value of into the input field.
Affected files ...
.. //depot/projects/mips/sys/mips/include/atomic.h#17 edit
Differences ...
==== //depot/projects/mips/sys/mips/include/atomic.h#17 (text+ko) ====
@@ -107,8 +107,8 @@
asmop "\n\t" \
"sc %[temp], %[p]\n\t" \
"beqz %[temp], 1b\n\t" \
- : [val] "=&r"(val), [temp] "=&r"(temp), [p] "+m"(*p) \
- : \
+ : [temp] "=&r"(temp), [p] "+m"(*p) \
+ : [val] "r"(val) \
: "memory" \
); \
}
@@ -195,8 +195,8 @@
asmop "\n\t" \
"scd %[temp], %[p]\n\t" \
"beqz %[temp], 1b\n\t" \
- : [val] "=&r"(val), [temp] "=&r"(temp), [p] "+m"(*p) \
- : \
+ : [temp] "=&r"(temp), [p] "+m"(*p) \
+ : [val] "r"(val) \
: "memory" \
); \
}
More information about the p4-projects
mailing list