16
16
17
17
/* Define the default attributes for the functions in this file. */
18
18
#define __DEFAULT_FN_ATTRS __attribute__ ((__always_inline__, __nodebug__))
19
+ #define __DEFAULT_FN_ATTRS_CAST __attribute__ ((__always_inline__))
19
20
#define __DEFAULT_FN_ATTRS_SSE42 __attribute__ ((__always_inline__, __nodebug__, __target__(" sse4.2" )))
20
21
21
22
#if defined(__cplusplus) && (__cplusplus >= 201103L)
@@ -215,7 +216,7 @@ __writeeflags(unsigned int __f)
215
216
* A 32-bit float value.
216
217
* \returns a 32-bit unsigned integer containing the converted value.
217
218
*/
218
- static __inline__ unsigned int __attribute__ ((__always_inline__))
219
+ static __inline__ unsigned int __DEFAULT_FN_ATTRS_CAST
219
220
_castf32_u32 (float __A) {
220
221
unsigned int D;
221
222
__builtin_memcpy (&D, &__A, sizeof (__A));
@@ -232,7 +233,7 @@ _castf32_u32(float __A) {
232
233
* A 64-bit float value.
233
234
* \returns a 64-bit unsigned integer containing the converted value.
234
235
*/
235
- static __inline__ unsigned long long __attribute__ ((__always_inline__))
236
+ static __inline__ unsigned long long __DEFAULT_FN_ATTRS_CAST
236
237
_castf64_u64 (double __A) {
237
238
unsigned long long D;
238
239
__builtin_memcpy (&D, &__A, sizeof (__A));
@@ -249,7 +250,7 @@ _castf64_u64(double __A) {
249
250
* A 32-bit unsigned integer value.
250
251
* \returns a 32-bit float value containing the converted value.
251
252
*/
252
- static __inline__ float __attribute__ ((__always_inline__))
253
+ static __inline__ float __DEFAULT_FN_ATTRS_CAST
253
254
_castu32_f32 (unsigned int __A) {
254
255
float D;
255
256
__builtin_memcpy (&D, &__A, sizeof (__A));
@@ -266,7 +267,7 @@ _castu32_f32(unsigned int __A) {
266
267
* A 64-bit unsigned integer value.
267
268
* \returns a 64-bit float value containing the converted value.
268
269
*/
269
- static __inline__ double __attribute__ ((__always_inline__))
270
+ static __inline__ double __DEFAULT_FN_ATTRS_CAST
270
271
_castu64_f64 (unsigned long long __A) {
271
272
double D;
272
273
__builtin_memcpy (&D, &__A, sizeof (__A));
@@ -440,6 +441,7 @@ __rorq(unsigned long long __X, int __C) {
440
441
#define _rotwr (a,b ) __rorw((a), (b))
441
442
442
443
#undef __DEFAULT_FN_ATTRS
444
+ #undef __DEFAULT_FN_ATTRS_CAST
443
445
#undef __DEFAULT_FN_ATTRS_SSE42
444
446
#undef __DEFAULT_FN_ATTRS_CONSTEXPR
445
447
0 commit comments