[PATCH] D128235: [RISCV] Add support for the Zawrs extension

Palmer Dabbelt via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 20 17:38:01 PDT 2022

palmer-dabbelt created this revision.
palmer-dabbelt added reviewers: reames, asb.
Herald added subscribers: sunshaoce, VincentWu, luke957, StephenFan, vkmr, frasercrmck, evandro, luismarques, apazos, sameer.abuasal, s.egerton, Jim, benna, psnobl, jocewei, PkmX, the_o, brucehoult, MartinMosbeck, rogfer01, edward-jones, zzheng, jrtc27, shiva0217, kito-cheng, niosHD, sabuasal, simoncook, johnrusso, rbar, hiraditya, arichardson.
Herald added a project: All.
palmer-dabbelt requested review of this revision.
Herald added subscribers: llvm-commits, cfe-commits, pcwang-thead, eopXD, MaskRay.
Herald added projects: clang, LLVM.

This extension contains a single instruction, wrs, which waits for the
current reservation set to be modified by a remote agent.

Signed-off-by: Palmer Dabbelt <palmer at rivosinc.com>


This is still some sort of very early draft and I'm not sure what the
rules are in LLVM land for merging that sort of code.  It's a fast track
extension so it should be done soon, but it's been drifting around a bit
as part of that process so this might not be sane right now.  I'm really
just doing this to check the box on LLVM support, which is just
assembler support due to the nature of the WRS instruction.

I also haven't gotten clang-format working yet, but I'm hoping something
in the CI will help with that.

  rG LLVM Github Monorepo



-------------- next part --------------
A non-text attachment was scrubbed...
Name: D128235.438509.patch
Type: text/x-patch
Size: 5199 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220621/3ed3a0a3/attachment-0001.bin>

More information about the cfe-commits mailing list