Skip to content

Add int<->float reinterpretation #40

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

Merged
merged 1 commit into from
May 6, 2015
Merged

Add int<->float reinterpretation #40

merged 1 commit into from
May 6, 2015

Conversation

lukewagner
Copy link
Member

These are basic LLVM ops that are missing and currently require heap loads/stores in asm.js.

Note, currently float64 is excluded. Post-v.1, when we add int64, we could add the int64<->float64 reinterpret ops and then to get the lower 32 bits of a float64, you'd first reinterpret as int64 and then truncate to int32.

@jfbastien
Copy link
Member

lgtm

1 similar comment
@sunfishcode
Copy link
Member

lgtm

jfbastien added a commit that referenced this pull request May 6, 2015
Add int<->float reinterpretation
@jfbastien jfbastien merged commit f701971 into master May 6, 2015
@jfbastien jfbastien deleted the add-reinterpret branch May 6, 2015 16:54
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