svn commit: r273027 - head/sys/dev/random

Navdeep Parhar np at FreeBSD.org
Mon Oct 13 06:50:09 UTC 2014


Author: np
Date: Mon Oct 13 06:50:08 2014
New Revision: 273027
URL: https://svnweb.freebsd.org/changeset/base/273027

Log:
  Make sure correct object code is generated at -O0.
  
  Submitted by:	grehan@
  Approved by:	so@ (des)
  MFC after:	1 month

Modified:
  head/sys/dev/random/ivy.c

Modified: head/sys/dev/random/ivy.c
==============================================================================
--- head/sys/dev/random/ivy.c	Mon Oct 13 05:34:10 2014	(r273026)
+++ head/sys/dev/random/ivy.c	Mon Oct 13 06:50:08 2014	(r273027)
@@ -79,7 +79,7 @@ ivy_rng_store(long *buf)
 	    "2:\n\t"
 	    "mov	%2,%1\n\t" /* *buf = tmp */
 	    "3:"
-	    : "+q" (retry), "=m" (*buf), "=q" (tmp) : : "cc");
+	    : "+q" (retry), "=m" (*buf), "+q" (tmp) : : "cc");
 	return (retry);
 #else /* __GNUCLIKE_ASM */
 	return (0);


More information about the svn-src-head mailing list