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

spin_delay.hpp: fix for Darwin PPC #3129

Merged
merged 3 commits into from
Jan 30, 2023
Merged

Conversation

barracuda156
Copy link
Contributor

Current assembler is wrong for Darwin PPC, it won’t work and even build. In addition to accommodate ppc64 on Darwin, __ppc64__ should be added (or otherwise __POWERPC__).

@vercel
Copy link

vercel bot commented Jan 30, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated
seqan3 ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Jan 30, 2023 at 11:06AM (UTC)

@seqan-actions seqan-actions added the lint [INTERNAL] signal for linting label Jan 30, 2023
@codecov
Copy link

codecov bot commented Jan 30, 2023

Codecov Report

Base: 98.18% // Head: 98.18% // No change to project coverage 👍

Coverage data is based on head (2fb5449) compared to base (329e5a3).
Patch has no changes to coverable lines.

❗ Current head 2fb5449 differs from pull request most recent head 619db34. Consider uploading reports for the commit 619db34 to get more accurate results

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #3129   +/-   ##
=======================================
  Coverage   98.18%   98.18%           
=======================================
  Files         276      276           
  Lines       12292    12292           
=======================================
  Hits        12069    12069           
  Misses        223      223           
Impacted Files Coverage Δ
...lude/seqan3/utility/parallel/detail/spin_delay.hpp 100.00% <ø> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@eseiler eseiler self-requested a review January 30, 2023 09:59
Copy link
Member

@eseiler eseiler left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

@seqan-actions seqan-actions added lint [INTERNAL] signal for linting and removed lint [INTERNAL] signal for linting labels Jan 30, 2023
@eseiler eseiler merged commit c62f2cb into seqan:master Jan 30, 2023
@eseiler
Copy link
Member

eseiler commented Jan 30, 2023

@barracuda156 do you by chance have a source/reference for the Darwin PPC assembly instruction?

I only found documentation on the "normal" or 27,27,27 instruction, but not really much on the or r27,r27,r27. Though I found source code that shows that Darwin PPC usually does, e.g., r1,r1,r1 instead of 1,1,1.

@barracuda156
Copy link
Contributor Author

barracuda156 commented Jan 30, 2023

I only found documentation on the "normal" or 27,27,27 instruction, but not really much on the or r27,r27,r27. Though I found source code that shows that Darwin PPC usually does, e.g., r1,r1,r1 instead of 1,1,1.

@eseiler As long as insns are supported by ISA (and for Darwin that means <= v2.03), they should do what they are supposed to, regardless of the OS (well, provided they do not violate ABI). However, Darwin ABI uses prefixed register names, so 27,27,27 just looks nonsense to the as, since it expects to get registers as arguments of or :)

@barracuda156 barracuda156 deleted the darwin branch January 30, 2023 12:09
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