Skip to content

Floating Point Power and While Loop JIT#5614

Merged
coolreader18 merged 45 commits into
RustPython:mainfrom
dohear:CraneliftChanges
Mar 19, 2025
Merged

Floating Point Power and While Loop JIT#5614
coolreader18 merged 45 commits into
RustPython:mainfrom
dohear:CraneliftChanges

Conversation

@NicholasPaulick

Copy link
Copy Markdown
Contributor

Summary

  • Added support for floating-point values in Cranelift.
  • Fully re-implemented while loops.
  • Upgraded Cranelift from v0.88.0 to v0.116.1.

Details

  • Floating-point support works in most cases, but some values may produce slight deviations from expected results.
  • Cases that could result in imaginary outputs were not included, as handling them would require a Tuple, which is yet to be implemented.

Let me know if you'd like any further refinements!

NicholasPaulick and others added 30 commits February 10, 2025 12:09
Integration Testing for JITPower implementation.
cranelift more like painlift

@coolreader18 coolreader18 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks awesome, thank you!

@coolreader18 coolreader18 merged commit 45c0fa0 into RustPython:main Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants