sfp-machine.h (FP_HANDLE_EXCEPTIONS): Use __builtin_expect when checking for exceptions.
* 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
This commit is contained in:
parent
0a2818d5f9
commit
a20d08fd75
@ -1,3 +1,9 @@
|
||||
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
|
||||
|
@ -51,7 +51,7 @@ void __sfp_handle_exceptions (int);
|
||||
|
||||
#define FP_HANDLE_EXCEPTIONS \
|
||||
do { \
|
||||
if (_fex) \
|
||||
if (__builtin_expect (_fex, 0)) \
|
||||
__sfp_handle_exceptions (_fex); \
|
||||
} while (0);
|
||||
|
||||
|
@ -60,7 +60,7 @@ void __sfp_handle_exceptions (int);
|
||||
|
||||
#define FP_HANDLE_EXCEPTIONS \
|
||||
do { \
|
||||
if (_fex) \
|
||||
if (__builtin_expect (_fex, 0)) \
|
||||
__sfp_handle_exceptions (_fex); \
|
||||
} while (0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user