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

Implement round.ps and round.pd SSE4.1 intrinsics #3159

Merged
merged 2 commits into from Nov 12, 2023

Conversation

eduardosm
Copy link
Contributor

I had forgotten them.

I also increased the coverage of rounding tests to make sure the rounding direction is working as expected (e.g. test 1.25, 1.5, 1.75...).

Comment on lines 268 to 270
test(-1.5, -2.0);
test(-1.25, -1.0);
test(-1.75, -2.0);
Copy link
Member

Choose a reason for hiding this comment

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

Could you keep these sorted?

To make sure the rounding direction is working as expected
@RalfJung
Copy link
Member

Looks good, thanks!
@bors r+

@bors
Copy link
Collaborator

bors commented Nov 12, 2023

📌 Commit 598ed6b has been approved by RalfJung

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Nov 12, 2023

⌛ Testing commit 598ed6b with merge 4ddbef9...

@bors
Copy link
Collaborator

bors commented Nov 12, 2023

☀️ Test successful - checks-actions
Approved by: RalfJung
Pushing 4ddbef9 to master...

@bors bors merged commit 4ddbef9 into rust-lang:master Nov 12, 2023
8 checks passed
@eduardosm eduardosm deleted the sse41-round branch November 12, 2023 19:55
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.

None yet

3 participants