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 |