Changeset 76375 in vbox for trunk/include/iprt/nocrt
- Timestamp:
- Dec 22, 2018 10:28:36 PM (6 years ago)
- Location:
- trunk/include/iprt/nocrt
- Files:
-
- 3 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nocrt/amd64/fenv.h
r69475 r76375 110 110 #define __stmxcsr(__csr) __asm __volatile("stmxcsr %0" : "=m" (*(__csr))) 111 111 112 #if RT_GNUC_PREREQ(4, 6) 113 # pragma GCC diagnostic push 114 # pragma GCC diagnostic ignored "-Wshadow" 115 #endif 116 112 117 DECLINLINE(int) 113 118 feclearexcept(int __excepts) … … 217 222 } 218 223 224 #if RT_GNUC_PREREQ(4, 6) 225 # pragma GCC diagnostic pop 226 #endif 227 219 228 RT_C_DECLS_END 220 229 -
trunk/include/iprt/nocrt/x86/fenv.h
r69475 r76375 125 125 #define __fldcw(__cw) __asm __volatile("fldcw %0" : : "m" (__cw)) 126 126 #define __fldenv(__env) __asm __volatile("fldenv %0" : : "m" (__env)) 127 #define __fnclex() __asm __volatile("fnclex")127 #define __fnclex() __asm __volatile("fnclex") 128 128 #define __fnstenv(__env) __asm __volatile("fnstenv %0" : "=m" (*(__env))) 129 129 #define __fnstcw(__cw) __asm __volatile("fnstcw %0" : "=m" (*(__cw))) 130 130 #define __fnstsw(__sw) __asm __volatile("fnstsw %0" : "=am" (*(__sw))) 131 #define __fwait() __asm __volatile("fwait")131 #define __fwait() __asm __volatile("fwait") 132 132 #define __ldmxcsr(__csr) __asm __volatile("ldmxcsr %0" : : "m" (__csr)) 133 133 #define __stmxcsr(__csr) __asm __volatile("stmxcsr %0" : "=m" (*(__csr))) 134 135 #if RT_GNUC_PREREQ(4, 6) 136 # pragma GCC diagnostic push 137 # pragma GCC diagnostic ignored "-Wshadow" 138 #endif 134 139 135 140 DECLINLINE(int) … … 255 260 return (~__control & FE_ALL_EXCEPT); 256 261 } 262 263 #if RT_GNUC_PREREQ(4, 6) 264 # pragma GCC diagnostic pop 265 #endif 257 266 258 267 RT_C_DECLS_END
Note:
See TracChangeset
for help on using the changeset viewer.