diff options
author | Steve Ellcey <sellcey@caviumnetworks.com> | 2017-08-31 13:38:11 -0700 |
---|---|---|
committer | Steve Ellcey <sellcey@caviumnetworks.com> | 2017-08-31 13:38:11 -0700 |
commit | d9ff799a5b2884d2abc0a1689fb6b2c71084424c (patch) | |
tree | c10c6256fd563ac826dffde3a547ff919a15d1e8 /sysdeps/aarch64/fpu/s_llroundf.c | |
parent | 102dde842ae75ddee71a413fc8c4320894e159de (diff) | |
download | glibc-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_llroundf.c')
-rw-r--r-- | sysdeps/aarch64/fpu/s_llroundf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/aarch64/fpu/s_llroundf.c b/sysdeps/aarch64/fpu/s_llroundf.c index 360ce8b4c5..294f0f4761 100644 --- a/sysdeps/aarch64/fpu/s_llroundf.c +++ b/sysdeps/aarch64/fpu/s_llroundf.c @@ -18,6 +18,7 @@ #define FUNC llroundf #define ITYPE float -#define IREGS "s" +#define IREG_SIZE 32 #define OTYPE long long int +#define OREG_SIZE 64 #include <s_lround.c> |