Skip to content

Remove supportsJavaFloatSemantics CodeGenerator flag#8202

Merged
vijaysun-omr merged 1 commit intoeclipse-omr:masterfrom
0xdaryl:apx/removex87inst-nofloatsemantics
Apr 6, 2026
Merged

Remove supportsJavaFloatSemantics CodeGenerator flag#8202
vijaysun-omr merged 1 commit intoeclipse-omr:masterfrom
0xdaryl:apx/removex87inst-nofloatsemantics

Conversation

@0xdaryl
Copy link
Copy Markdown
Contributor

@0xdaryl 0xdaryl commented Apr 4, 2026

When false, this flag has always been a poorly-worded reference to x87 floating
point support. x87 support has been deprecated in OMR, and the flag was
semantically true on every backend platform. Assume the flag is true and
fold/remove code accordingly.

Note that for AArch64 and RISC-V, this flag was not set in their respective
CodeGenerators. This was an oversight, and functionality previously disabled
in the optimizer guarded with this flag will now be enabled.

@0xdaryl 0xdaryl force-pushed the apx/removex87inst-nofloatsemantics branch from 4f6d855 to cc2b69f Compare April 4, 2026 15:48
@0xdaryl
Copy link
Copy Markdown
Contributor Author

0xdaryl commented Apr 4, 2026

Jenkins build all

When false, this flag has always been a poorly-worded reference to x87 floating
point support.  x87 support has been deprecated in OMR, and the flag was
semantically true on every backend platform.  Assume the flag is true and
fold/remove code accordingly.

Note that for AArch64 and RISC-V, this flag was not set in their respective
CodeGenerators.  This was an oversight, and functionality previously disabled
in the optimizer guarded with this flag will now be enabled.

Signed-off-by: Daryl Maier <maier@ca.ibm.com>
@0xdaryl 0xdaryl force-pushed the apx/removex87inst-nofloatsemantics branch from cc2b69f to d8d6139 Compare April 5, 2026 17:10
@0xdaryl
Copy link
Copy Markdown
Contributor Author

0xdaryl commented Apr 5, 2026

Jenkins build all

@0xdaryl 0xdaryl changed the title WIP: Remove supportsJavaFloatSemantics CodeGenerator flag Remove supportsJavaFloatSemantics CodeGenerator flag Apr 6, 2026
@0xdaryl
Copy link
Copy Markdown
Contributor Author

0xdaryl commented Apr 6, 2026

@vijaysun-omr : all required downstream changes have merged. Could you review this please (low priority)?

@vijaysun-omr
Copy link
Copy Markdown
Contributor

Failures are known infra issues. Otherwise this change is a cleanup, with logic changed to be simpler (that I have reviewed) in several places calling the removed API

@vijaysun-omr vijaysun-omr merged commit be2d8f9 into eclipse-omr:master Apr 6, 2026
12 of 14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants