Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(543)

Unified Diff: nss/mozilla/nsprpub/pr/src/md/unix/uxrng.c

Issue 3135002: Update to NSS 3.12.7 and NSPR 4.8.6.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/deps/third_party/
Patch Set: Created 10 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: nss/mozilla/nsprpub/pr/src/md/unix/uxrng.c
===================================================================
--- nss/mozilla/nsprpub/pr/src/md/unix/uxrng.c (revision 55475)
+++ nss/mozilla/nsprpub/pr/src/md/unix/uxrng.c (working copy)
@@ -75,7 +75,11 @@
{
PRUint64 t;
+#ifdef __GNUC__
+ __asm__ __volatile__("mov %0 = ar.itc" : "=r" (t));
+#else
t = _Asm_mov_from_ar(_AREG44);
+#endif
return _pr_CopyLowBits(buf, maxbytes, &t, sizeof(t));
}
#else

Powered by Google App Engine
This is Rietveld 408576698