-
Notifications
You must be signed in to change notification settings - Fork 82
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Codecov ReportBase: 98.18% // Head: 98.18% // No change to project coverage 👍
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
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. |
There was a problem hiding this 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!
@barracuda156 do you by chance have a source/reference for the Darwin PPC assembly instruction? I only found documentation on the "normal" |
@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 |
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__
).