Skip to content

About FPU control word settings in 32-bit environment #12125

Closed
@SakiTakamachi

Description

@SakiTakamachi

Description

It was discovered in this issue:
#12076

Here is the sqlite forum conversation:
https://www.sqlite.org/forum/forumpost/abbb95376ec6cd5f

In summary, even in an environment where the CPU can handle extended double-precision floating point numbers, in-line assembly may limit the use of normal double-precision numbers.

Here is the code:

_xpfpa_fpu_cw = (_xpfpa_fpu_oldcw & ~0x100) | 0x200; \

I think it should be fixed, but should this be fixed in a patch version, or should it be in a minor version and accompanied by an RFC?

Thank you.

PHP Version

php8.2.9

Operating System

i386/alpine docker image

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions