In the file ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h a LWS call is
done, and then the kernel return value is negated (from - to +) with this
line:
sub %%r0, %%r21, %%r21
A small optimization is to drop this negation and instead change
if(lws_errno == EFAULT || lws_errno == ENOSYS)
to
if(lws_errno == -EFAULT || lws_errno == -ENOSYS)
--
Summary: [PARISC] small atomic.h optimization
Product: glibc
Version: 2.4
Status: NEW
Severity: enhancement
Priority: P2
Component: libc
AssignedTo: carlos at systemhalted dot org
ReportedBy: deller at gmx dot de
CC: glibc-bugs at sources dot redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6730------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.