diff options
author | Mikael Pettersson <[email protected]> | 2016-04-17 20:24:32 +0200 |
---|---|---|
committer | Mikael Pettersson <[email protected]> | 2016-04-17 20:24:32 +0200 |
commit | 4e1102cf8c5bc9ae6a8371665ef6aa9de08e653a (patch) | |
tree | 91d06f85a12b53a2a2a01d0c314a9be593407c18 /erts/emulator/test/efile_SUITE_data | |
parent | 523e048754f5086a6cc4fd9a250e1b495fc5b9b8 (diff) | |
download | otp-4e1102cf8c5bc9ae6a8371665ef6aa9de08e653a.tar.gz otp-4e1102cf8c5bc9ae6a8371665ef6aa9de08e653a.tar.bz2 otp-4e1102cf8c5bc9ae6a8371665ef6aa9de08e653a.zip |
clean up FP exception code in sys_float.c
This performs a number of cleanups in the FP exception code:
- inline the body of unmask_fpe_conditional() in its only caller,
then delete the duplicated and identical definitions of it
- start the big processor-specific block with a comment describing
the two functions that must be defined, then delete redundant
comments at all the mask_*() functions
- add a comment before fpe_sig_action() explaining exactly what
processor-specific action is required of it
- flatten #ifdef nesting in fpe_sig_action()
- move common code in the x86 unmask_fpe() and erts_restore_fpu()
function into a subroutine
- minor tweaks: drop a redundant L suffix on a 0, add a comment
after an #else, bump the size of a debug buffer,
There should be no change in behaviour from these changes.
Diffstat (limited to 'erts/emulator/test/efile_SUITE_data')
0 files changed, 0 insertions, 0 deletions