Skip to content
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

re-implement some of the FCVTZS/FCVTMS/FCVTPS/FCVTNS #1150

Open
mr-c opened this issue Mar 20, 2024 · 6 comments
Open

re-implement some of the FCVTZS/FCVTMS/FCVTPS/FCVTNS #1150

mr-c opened this issue Mar 20, 2024 · 6 comments
Milestone

Comments

@mr-c
Copy link
Collaborator

mr-c commented Mar 20, 2024

Recent Qemu confirms the different behavior that was seen on mac M1 and a Pixel 4a 5g phone versus our previous implementation.

To fix this:

  1. Revert 339ffe4
  2. Adjust the test vectors to match the hardware behavior (or that of a recent Qemu version)
  3. Adjust the software implementations of those intrinsics to match the new test vectors

Note that Arm defines Round towards Zero (RZ) mode as

Means that results are rounded to the nearest representable number that is no greater in magnitude than the unrounded result.

@mr-c
Copy link
Collaborator Author

mr-c commented Mar 20, 2024

@yyctw Is this something you have time to do?

@mr-c mr-c added this to the 0.9.0 milestone Mar 26, 2024
@vt-alt
Copy link

vt-alt commented Jan 17, 2025

Is 0.9.0 planned anytime soon?

@mr-c
Copy link
Collaborator Author

mr-c commented Jan 17, 2025

Is 0.9.0 planned anytime soon?

0.8.4 is under way: #1228

Are you able to help fix the FCVTZS/FCVTMS/FCVTPS/FCVTNS implementations? Are there specific intrinsics that you need?

@vt-alt
Copy link

vt-alt commented Jan 17, 2025

Thanks for clarification! Ah, excuse me, I'm no intended to fix the implementations. Reason for the question here, is we need some gcc14 fixes and I thought if we should backport them or just wait for the next release. And 0.9.0 is the only release I found in Milestones tab (and this is the only issue looked requiring coding the other one is for adding documentation).

@mr-c
Copy link
Collaborator Author

mr-c commented Jan 17, 2025

Thanks for clarification! Ah, excuse me, I'm no intended to fix the implementations. Reason for the question here, is we need some gcc14 fixes and I thought if we should backport them or just wait for the next release. And 0.9.0 is the only release I found in Milestones tab (and this is the only issue looked requiring coding the other one is for adding documentation).

:-) What gcc-14 fixes do you need? Who is 'we'?

@vt-alt
Copy link

vt-alt commented Jan 17, 2025

ALT Linux distribution. Commits fixing these FTBFS issues on i586: https://git.altlinux.org/beehive/logs/Sisyphus-i586/latest/error/simde-0.8.2-alt1 I see a fellow maintainer is picking this commit #1251

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

No branches or pull requests

2 participants