[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commits] r16175 - in /fsf/trunk/libc: ChangeLog sysdeps/generic/dl-hash.h
- To: commits@xxxxxxxxxx
- Subject: [Commits] r16175 - in /fsf/trunk/libc: ChangeLog sysdeps/generic/dl-hash.h
- From: eglibc@xxxxxxxxxx
- Date: Sun, 11 Dec 2011 00:02:05 -0000
Author: eglibc
Date: Sun Dec 11 00:02:03 2011
New Revision: 16175
Log:
Import glibc-mainline for 2011-12-11
Modified:
fsf/trunk/libc/ChangeLog
fsf/trunk/libc/sysdeps/generic/dl-hash.h
Modified: fsf/trunk/libc/ChangeLog
==============================================================================
--- fsf/trunk/libc/ChangeLog (original)
+++ fsf/trunk/libc/ChangeLog Sun Dec 11 00:02:03 2011
@@ -1,3 +1,8 @@
+2011-12-10 Ulrich Drepper <drepper@xxxxxxxxx>
+
+ * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
+ the inner loop.
+
2011-12-06 Andreas Schwab <schwab@xxxxxxxxxxxxxx>
[BZ #13472]
Modified: fsf/trunk/libc/sysdeps/generic/dl-hash.h
==============================================================================
--- fsf/trunk/libc/sysdeps/generic/dl-hash.h (original)
+++ fsf/trunk/libc/sysdeps/generic/dl-hash.h Sun Dec 11 00:02:03 2011
@@ -60,9 +60,12 @@
But the following is equivalent and a lot
faster, especially on modern processors. */
- hash ^= hi;
hash ^= hi >> 24;
}
+
+ /* Second part of the modified formula. This
+ operation can be lifted outside the loop. */
+ hash &= 0x0fffffff;
}
}
}
_______________________________________________
Commits mailing list
Commits@xxxxxxxxxx
http://eglibc.org/cgi-bin/mailman/listinfo/commits