This is an archive of the discontinued LLVM Phabricator instance.

[RISCV] Add vendor-defined XTheadSync (Multi-core synchronization) extension
ClosedPublic

Authored by mtsamis on Feb 21 2023, 9:06 AM.

Details

Summary

The vendor-defined XTheadSync (no comparable standard extension exists
at the time of writing) extension adds multi-core synchronization
instructions.

It is supported by the C9xx cores (e.g., found in the wild in the
Allwinner D1) by Alibaba T-Head.

The current (as of this commit) public documentation for this
extension is available at:

https://github.com/T-head-Semi/thead-extension-spec/releases/download/2.2.2/xthead-2023-01-30-2.2.2.pdf

Support for these instructions has already landed in GNU Binutils:

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=547c18d9bb95571261dbd17f4767194037eb82bd

Depends on D144496

Diff Detail

Event Timeline

mtsamis created this revision.Feb 21 2023, 9:06 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 21 2023, 9:06 AM
mtsamis requested review of this revision.Feb 21 2023, 9:06 AM
This revision is now accepted and ready to land.Feb 21 2023, 10:43 AM