summaryrefslogtreecommitdiff
path: root/sapi/phpdbg/phpdbg_cmd.c
diff options
context:
space:
mode:
authorChristoph M. Becker <cmbecker69@gmx.de>2020-05-26 08:57:31 +0200
committerChristoph M. Becker <cmbecker69@gmx.de>2020-05-26 17:19:54 +0200
commit879004dae325e50d3e1a8f9477e66cdfeef0d366 (patch)
treef7520a20793bb9c55074948620324fcb8b9dac40 /sapi/phpdbg/phpdbg_cmd.c
parentc6fc400e8bbb96e0310bfdfab507eaffbf1b66b6 (diff)
downloadphp-git-879004dae325e50d3e1a8f9477e66cdfeef0d366.tar.gz
Fix #79595: zend_init_fpu() alters FPU precision
On startup, PHP deliberately changes the floating point control word to enforce binary64 format for the calculations for best consistency across platforms. However, this is unnessary for x86_64 architectures, because in this case SSE instructions are used by default, and there is no good reason to pass `-mfpmath=i387` or such. Therefore, we can skip the modification, which has the benefit that system libraries are free to work in the mode of their liking.
Diffstat (limited to 'sapi/phpdbg/phpdbg_cmd.c')
0 files changed, 0 insertions, 0 deletions