* config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
__builtin_expect when checking for exceptions.
* config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
From-SVN: r188705
+2012-06-17 Uros Bizjak <ubizjak@gmail.com>
+
+ * config/i386/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use
+ __builtin_expect when checking for exceptions.
+ * config/ia64/sfp-machine.h (FP_HANDLE_EXCEPTIONS): Ditto.
+
2012-06-13 Uros Bizjak <ubizjak@gmail.com>
* config/ia64/sfp-machine.h (__sfp_handle_exceptions): New
#define FP_HANDLE_EXCEPTIONS \
do { \
- if (_fex) \
+ if (__builtin_expect (_fex, 0)) \
__sfp_handle_exceptions (_fex); \
} while (0);
#define FP_HANDLE_EXCEPTIONS \
do { \
- if (_fex) \
+ if (__builtin_expect (_fex, 0)) \
__sfp_handle_exceptions (_fex); \
} while (0);