mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-08 14:20:07 +00:00
aarch64: Add missing math Makefile for recent commit
Without -fno-math-errno, the builtins just do a call instead of inlining a single instruction.
This commit is contained in:
parent
5062680c60
commit
be080b6c14
@ -55,7 +55,8 @@
|
||||
with __builtin_trunc.
|
||||
* sysdeps/aarch64/fpu/s_truncf.c (__truncf): Replace asm statements
|
||||
with __builtin_truncf.
|
||||
* sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno.
|
||||
* sysdeps/aarch64/fpu/Makefile: Build e_sqrt[f].c with -fno-math-errno,
|
||||
and s_l[l]round[f].c too.
|
||||
|
||||
2017-10-23 Alan Modra <amodra@gmail.com>
|
||||
|
||||
|
8
sysdeps/aarch64/fpu/Makefile
Normal file
8
sysdeps/aarch64/fpu/Makefile
Normal file
@ -0,0 +1,8 @@
|
||||
ifeq ($(subdir),math)
|
||||
CFLAGS-e_sqrtf.c += -fno-math-errno
|
||||
CFLAGS-e_sqrt.c += -fno-math-errno
|
||||
CFLAGS-s_lroundf.c += -fno-math-errno
|
||||
CFLAGS-s_lround.c += -fno-math-errno
|
||||
CFLAGS-s_llroundf.c += -fno-math-errno
|
||||
CFLAGS-s_llround.c += -fno-math-errno
|
||||
endif
|
Loading…
Reference in New Issue
Block a user