You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Szabolcs Nagy
b3797d3b2e
math: fix __rem_pio2 in non-nearest rounding modes
Handle when after reduction |y| > pi/4+tiny. This happens in directed
rounding modes because the fast round to int code does not give the
nearest integer. In such cases the reduction may not be symmetric
between x and -x so e.g. cos(x)==cos(-x) may not hold (but polynomial
evaluation is not symmetric either with directed rounding so fixing
that would require more changes with bigger performance impact).
The fix only adds two predictable branches in nearest rounding mode,
simple ubenchmark does not show relevant performance regression in
nearest rounding mode.
The code could be improved: e.g reducing the medium size threshold
such that two step reduction is enough instead of three, and the
single precision case can avoid the issue by doing the round to int
differently, but this fix was kept minimal.
6 years ago
..
aio
disable lfs64 aliases for remapped time64 functions
7 years ago
complex
fix incorrect results for catanf and catanl with some inputs
6 years ago
conf
fix build regression in sysconf for archs with variable page size
8 years ago
crypt
reduce spurious inclusion of libc.h
8 years ago
ctype
fix wcwidth wrongly returning 0 for most of planes 4 and up
6 years ago
dirent
fail fdopendir for O_PATH file descriptors
7 years ago
env
add secure_getenv function
7 years ago
errno
add hidden version of &errno accessor function
8 years ago
exit
split internal lock API out of libc.h, creating lock.h
8 years ago
fcntl
remove spurious inclusion of libc.h for LFS64 ABI aliases
8 years ago
fenv
riscv64: fix fesetenv(FE_DFL_ENV) crash
7 years ago
include
refactor thrd_sleep and nanosleep in terms of clock_nanosleep
7 years ago
internal
remove legacy time32 timer[fd] syscalls from public syscall.h
6 years ago
ipc
sysvipc: overhaul {sem,shm,msg}ctl for time64
7 years ago
ldso
fix time64 link regression of dlsym stub for static-linked programs
7 years ago
legacy
remove spurious inclusion of libc.h for LFS64 ABI aliases
8 years ago
linux
clock_adjtime: generalize time64 not to assume old struct layout match
7 years ago
locale
fix accidentlly-external cmp symbol introduced with catgets
7 years ago
malloc
split internal lock API out of libc.h, creating lock.h
8 years ago
math
math: fix __rem_pio2 in non-nearest rounding modes
6 years ago
misc
spare archs without time32 legacy the cost of ioctl fallback conversions
6 years ago
mman
revert unwanted and inadvertent change that slipped into mmap.c
6 years ago
mq
mq_timedsend, mq_timedreceive: add time64, decouple 32-bit time_t
7 years ago
multibyte
fix aliasing-based undefined behavior in mbsrtowcs
7 years ago
network
hook recvmmsg up to SO_TIMESTAMP[NS] fallback for pre-time64 kernels
7 years ago
passwd
fix format strings for uid/gid values in putpwent/putgrent
7 years ago
prng
split internal lock API out of libc.h, creating lock.h
8 years ago
process
add posix_spawn [f]chdir file actions
7 years ago
regex
fix failure of glob to match broken symlinks under some conditions
7 years ago
sched
sched_rr_get_interval: don't assume time_t is 32-bit on 32-bit archs
7 years ago
search
new tsearch implementation
8 years ago
select
fix regression in select with no timeout
7 years ago
setjmp
fix mips setjmp/longjmp fpu state on r6, related issues
7 years ago
signal
arm: avoid conditional branch to PLT in sigsetjmp
7 years ago
stat
fix remaining direct use of stat syscalls outside fstatat.c
6 years ago
stdio
fix remaining direct use of stat syscalls outside fstatat.c
6 years ago
stdlib
fix undefined behavior in strto* via FILE buffer pointer abuse
8 years ago
string
add thumb2 support to arm assembler memcpy
6 years ago
temp
remove spurious inclusion of libc.h for LFS64 ABI aliases
8 years ago
termios
reduce spurious inclusion of libc.h
8 years ago
thread
harden thread start with failed scheduling against broken __clone
7 years ago
time
fix remaining direct use of stat syscalls outside fstatat.c
6 years ago
unistd
use setitimer function rather than syscall to implement alarm
7 years ago