Skip to content

RuntimeLibcalls: Remove table of soft float compare cond codes #146082

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

arsenm
Copy link
Contributor

@arsenm arsenm commented Jun 27, 2025

Previously we had a table of entries for every Libcall for
the comparison to use against an integer 0 if it was a soft
float compare function. This was only relevant to a handful of
opcodes, so it was wasteful. Now that we can distinguish the
abstract libcall for the compare with the concrete implementation,
we can just directly hardcode the comparison against the libcall
impl without this configuration system.

Copy link
Contributor Author

arsenm commented Jun 27, 2025

This stack of pull requests is managed by Graphite. Learn more about stacking.

@arsenm arsenm force-pushed the users/arsenm/msp430/set-libcall-impl-cc-runtime-libcalls branch 2 times, most recently from 317e79f to 07fd7a0 Compare July 2, 2025 00:50
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/remove-table-soft-float-compare-types branch from a4d5461 to 4e8ecb3 Compare July 2, 2025 00:50
@arsenm arsenm force-pushed the users/arsenm/msp430/set-libcall-impl-cc-runtime-libcalls branch from 07fd7a0 to ca7e199 Compare July 7, 2025 09:46
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/remove-table-soft-float-compare-types branch from 4e8ecb3 to effe1ad Compare July 7, 2025 09:46
@arsenm arsenm force-pushed the users/arsenm/msp430/set-libcall-impl-cc-runtime-libcalls branch from ca7e199 to 38213c6 Compare July 8, 2025 01:23
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/remove-table-soft-float-compare-types branch from effe1ad to 1070967 Compare July 8, 2025 01:24
@arsenm arsenm force-pushed the users/arsenm/msp430/set-libcall-impl-cc-runtime-libcalls branch from 38213c6 to e8b5aa1 Compare July 8, 2025 05:17
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/remove-table-soft-float-compare-types branch from 1070967 to 48fcd78 Compare July 8, 2025 05:17
@arsenm arsenm force-pushed the users/arsenm/msp430/set-libcall-impl-cc-runtime-libcalls branch from e8b5aa1 to dc6acab Compare July 8, 2025 08:16
Base automatically changed from users/arsenm/msp430/set-libcall-impl-cc-runtime-libcalls to main July 8, 2025 08:18
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/remove-table-soft-float-compare-types branch 2 times, most recently from 0daf2fa to 66fa070 Compare July 8, 2025 08:21
Copy link
Contributor Author

arsenm commented Jul 9, 2025

Merge activity

  • Jul 9, 8:10 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 9, 8:12 AM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 9, 8:14 AM UTC: @arsenm merged this pull request with Graphite.

arsenm added 3 commits July 9, 2025 08:11
Previously we had a table of entries for every Libcall for
the comparison to use against an integer 0 if it was a soft
float compare function. This was only relevant to a handful of
opcodes, so it was wasteful. Now that we can distinguish the
abstract libcall for the compare with the concrete implementation,
we can just directly hardcode the comparison against the libcall
impl without this configuration system.
@arsenm arsenm force-pushed the users/arsenm/runtime-libcalls/remove-table-soft-float-compare-types branch from e31b61b to 1391620 Compare July 9, 2025 08:11
@arsenm arsenm merged commit dc69b00 into main Jul 9, 2025
7 of 9 checks passed
@arsenm arsenm deleted the users/arsenm/runtime-libcalls/remove-table-soft-float-compare-types branch July 9, 2025 08:14
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.

3 participants