about summary refs log tree commit diff
path: root/sysdeps/aarch64/fpu/s_llround.c
diff options
context:
space:
mode:
authorSteve Ellcey <sellcey@caviumnetworks.com>2017-08-31 13:38:11 -0700
committerSteve Ellcey <sellcey@caviumnetworks.com>2017-08-31 13:38:11 -0700
commitd9ff799a5b2884d2abc0a1689fb6b2c71084424c (patch)
treec10c6256fd563ac826dffde3a547ff919a15d1e8 /sysdeps/aarch64/fpu/s_llround.c
parent102dde842ae75ddee71a413fc8c4320894e159de (diff)
downloadglibc-d9ff799a5b2884d2abc0a1689fb6b2c71084424c.tar.gz
glibc-d9ff799a5b2884d2abc0a1689fb6b2c71084424c.tar.xz
glibc-d9ff799a5b2884d2abc0a1689fb6b2c71084424c.zip
ILP32 math changes
	* sysdeps/aarch64/fpu/s_llrint.c (OREG_SIZE): New macro.
	* sysdeps/aarch64/fpu/s_llround.c (OREG_SIZE): Likewise.
	* sysdeps/aarch64/fpu/s_llrintf.c (OREGS, IREGS): Remove.
	(IREG_SIZE, OREG_SIZE): New macros.
	* sysdeps/aarch64/fpu/s_llroundf.c: (OREGS, IREGS): Remove.
	(IREG_SIZE, OREG_SIZE): New macros.
	* sysdeps/aarch64/fpu/s_lrintf.c (IREGS): Remove.
	(IREG_SIZE): New macro.
	* sysdeps/aarch64/fpu/s_lroundf.c (IREGS): Remove.
	(IREG_SIZE): New macro.
	* sysdeps/aarch64/fpu/s_lrint.c (get-rounding-mode.h, stdint.h):
	New includes.
	(IREG_SIZE, OREG_SIZE): Initialize if not already set.
	(OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
	(__CONCATX): Handle exceptions correctly on large values that may
	set FE_INVALID.
	* sysdeps/aarch64/fpu/s_lround.c (IREG_SIZE, OREG_SIZE):
	Initialize if not already set.
        (OREGS, IREGS): Set based on IREG_SIZE and OREG_SIZE.
Diffstat (limited to 'sysdeps/aarch64/fpu/s_llround.c')
-rw-r--r--sysdeps/aarch64/fpu/s_llround.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdeps/aarch64/fpu/s_llround.c b/sysdeps/aarch64/fpu/s_llround.c
index ed4b192d5c..ef7aedf36b 100644
--- a/sysdeps/aarch64/fpu/s_llround.c
+++ b/sysdeps/aarch64/fpu/s_llround.c
@@ -18,4 +18,5 @@
 
 #define FUNC llround
 #define OTYPE long long int
+#define OREG_SIZE 64
 #include <s_lround.c>