Skip to content

[AIE] Enable floatdidf builtin used by G_SITOFP #436

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

Open
wants to merge 1 commit into
base: aie-public
Choose a base branch
from

Conversation

jseaton
Copy link
Contributor

@jseaton jseaton commented Apr 14, 2025

Hi, for G_SITOFP instructions you seem to now emit calls to __floatdidf for int64_t -> double, however this builtin is disabled.
This causes a linker error when compiling some code that contains an int64_t -> double cast. I stumbled across this while trying to reuse Arm's cosf implementation.
Checked vs floatdidf_test.c values on AIE2 hardware.

@andcarminati
Copy link
Collaborator

I think we could also reabase the commit on top of an aie-public-derived branch (without the second merge commit). It will help to merge this change.

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.

3 participants