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

Architecture-dependent instructions #85

Open
shintaro-iwasaki opened this issue Feb 8, 2019 · 1 comment
Open

Architecture-dependent instructions #85

shintaro-iwasaki opened this issue Feb 8, 2019 · 1 comment

Comments

@shintaro-iwasaki
Copy link
Collaborator

Related to #84. ABTD_atomic_pause only supports x86/64 sleep, but other architectures might have similar instructions. We need to find and use them if exist.

@shintaro-iwasaki shintaro-iwasaki changed the title Architecture-independent instructions Architecture-dependent instructions Feb 19, 2019
@shintaro-iwasaki
Copy link
Collaborator Author

For ppc64, or 27,27,27 seems similar (see PowerISA v2.07B)
See the following as well:
https://stackoverflow.com/questions/5425506/equivalent-of-x86-pause-instruction-for-ppc
https://elixir.bootlin.com/linux/latest/source/arch/powerpc/include/asm/processor.h

For arm64, yield seems similar (see ARM Architecture Reference Manual)
See the following as well:
https://elixir.bootlin.com/linux/latest/source/arch/arm64/include/asm/processor.h

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

1 participant