Jessica Clarke
Jessica Clarke
> Problem that CHERI people might have some good answers for: [AtomicPtr](https://doc.rust-lang.org/std/sync/atomic/struct.AtomicPtr.html) has a very limited API and currently people use AtomicUsize in its place for even basic stuff like...
We support all the C11 atomics, yes; for example: https://cheri-compiler-explorer.cl.cam.ac.uk/z/ezess6
It works at the IR level, we're just missing a bit of plumbing for the Clang frontend for anything other than add/sub I guess: https://cheri-compiler-explorer.cl.cam.ac.uk/z/G7GcK7
Oh, right, because C doesn't let you do that on "real" pointers at all, you need to use uintptr_t and then everything works: https://cheri-compiler-explorer.cl.cam.ac.uk/z/9MrKWP
> Thanks for making us aware. This situation is regrettable: an important feature (cycle counter or even timer) has been demoted from the base spec (where it was when I...
How do you handle function pointer equality in the presence of dlsym, or even just multiple dynamic relocations for the same descriptor? What actually goes in `.desc.data.rel.ro`?
You could but it makes adding a non-zero relocbase awkward since there isn't a single instruction in Morello to increment the base without altering the length. You might be able...
Note that CHERI-MIPS and CHERI-RISC-V do not have such an addition
No compiler generates it, but language runtimes have been free to use it and could well be, and any change breaks backwards compatibility and risks breaking existing code written to...
> There have been non-backwards-compatible changes made if there was no backwards compatibly expected. > (see the ISA spec preface for a list). Not since ratification of the standard extension...