Page MenuHomeFreeBSD

riscv: use the common sub-word {,f}cmpset implementation
ClosedPublic

Authored by kevans on Thu, Oct 3, 7:25 PM.

Details

Summary

(For now? I do not know if riscv includes necessary instructions to do sub-word atomics)

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

kevans created this revision.Thu, Oct 3, 7:25 PM
mhorne accepted this revision.Fri, Oct 4, 2:35 AM

Looks good to me. There are no sub-word atomic instructions for RISC-V.

This revision is now accepted and ready to land.Fri, Oct 4, 2:35 AM
This revision was automatically updated to reflect the committed changes.