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

Update SSE code to use esl_sse_{left,right}shiftz_float #242

Closed
wants to merge 2 commits into from
Closed

Update SSE code to use esl_sse_{left,right}shiftz_float #242

wants to merge 2 commits into from

Conversation

althonos
Copy link
Contributor

@althonos althonos commented Jun 7, 2021

Hi !

There were some places in the code where _m128 vectors were being left/right shifted with an external zerov null vector, which was causing an unneeded move compared to using the esl_sse_*shiftz_float function.

In locations where a leftshift was done by a _mm_move_ss followed by a _mm_shuffle_ps, it makes it a bit clearer what's happening.

@npcarter
Copy link
Member

npcarter commented Jun 8, 2021 via email

@npcarter
Copy link
Member

npcarter commented Jun 9, 2021

I've finished testing these changes, and they pass all my tests. To make GitHub happier, I've copied them into our develop branch manually and have committed those changes. I'm going to close this pull request since the changes were added manually rather than by accepting the pull. Thanks, Martin!

@npcarter npcarter closed this Jun 9, 2021
@althonos
Copy link
Contributor Author

althonos commented Jun 9, 2021

Hi Nick, no problem! Thanks for testing it, and glad the code works as expected.

By the way, do you know when you'll be finishing your Ph.D., and have you thought about what you'll do next? We hope to have an opening for a programmer on the HMMER effort opening up fairly soon, assuming the funding is approved.

I still have two more years to go, but thanks for the heads-up! Scientific programming is definitely a direction I would like to explore, more than data science like I'm doing right now 😉

@npcarter
Copy link
Member

npcarter commented Jun 9, 2021 via email

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.

2 participants