diff options
author | Paul A. Clarke <pc@us.ibm.com> | 2019-11-21 09:39:48 -0600 |
---|---|---|
committer | Paul A. Clarke <pc@us.ibm.com> | 2019-11-21 09:39:48 -0600 |
commit | 854e91bf6b4221f424ffa13b9ef50f35623b7b74 (patch) | |
tree | 77f05d1ccb4fff9f7fbde5853b6ad847995771e2 /sysdeps/generic | |
parent | fcb04b9aed26a737159ef7be9c5a6ad0994437dc (diff) | |
download | glibc-854e91bf6b4221f424ffa13b9ef50f35623b7b74.tar glibc-854e91bf6b4221f424ffa13b9ef50f35623b7b74.tar.gz glibc-854e91bf6b4221f424ffa13b9ef50f35623b7b74.tar.bz2 glibc-854e91bf6b4221f424ffa13b9ef50f35623b7b74.zip |
Enable inlining issignalingf within glibc
issignalingf is a very small function used in some areas where
better performance (and smaller code) might be helpful.
Create inline implementation for issignalingf.
Reviewed-by: Joseph Myers <joseph@codesourcery.com>
Diffstat (limited to 'sysdeps/generic')
-rw-r--r-- | sysdeps/generic/math_private.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sysdeps/generic/math_private.h b/sysdeps/generic/math_private.h index d91b929562..9296324d24 100644 --- a/sysdeps/generic/math_private.h +++ b/sysdeps/generic/math_private.h @@ -153,35 +153,6 @@ do { \ } while (0) #endif -/* A union which permits us to convert between a float and a 32 bit - int. */ - -typedef union -{ - float value; - uint32_t word; -} ieee_float_shape_type; - -/* Get a 32 bit int from a float. */ -#ifndef GET_FLOAT_WORD -# define GET_FLOAT_WORD(i,d) \ -do { \ - ieee_float_shape_type gf_u; \ - gf_u.value = (d); \ - (i) = gf_u.word; \ -} while (0) -#endif - -/* Set a float from a 32 bit int. */ -#ifndef SET_FLOAT_WORD -# define SET_FLOAT_WORD(d,i) \ -do { \ - ieee_float_shape_type sf_u; \ - sf_u.word = (i); \ - (d) = sf_u.value; \ -} while (0) -#endif - /* We need to guarantee an expansion of name when building ldbl-128 files as another type (e.g _Float128). */ #define mathx_hidden_def(name) hidden_def(name) |